We’re excited to announce Custom Domains are available in beta for Mux Video. Now you can stream videos or serve images from a domain of your choice instead of from
While a custom domain is not necessary for everyone, there are several reasons why using one makes sense.
stream.mux.comthat doesn't align with your policies. If you don’t want to be associated with that content, a custom domain will separate your brand from others on the Mux platform.
“We wanted to have a domain that was ours that would allow us to make sure that the content isn’t blocked by the school’s firewall. Our video content is delivered through the content delivery networks (CDNs) of Mux, but using a subdomain of
video.thenational.academy and we've delegated that subdomain to Mux to allow them to manage the content delivery network that sits underneath.” – John Roberts, Director of Product and Technology at Oak National Academy
Custom Domains are available now in beta. One custom domain is included for those who already have a Mux contract. If you are interested in using a custom domain, request access by filling out this form, and we’ll reach out to you!
Once Mux has provisioned the Custom Domain for you, you’ll be ready to start using the branded domain for playing videos and getting images, gifs, etc. Here’s an example of what this looks like:
Let’s imagine you requested Mux to set up media.example.com as your branded domain. Your new URLs are now:
Once you’ve created a custom domain, you want to make sure it’s updated everywhere, right? Right. Mux Data lets you easily check whether you’ve updated your URLs everywhere. You can see a breakdown of views by “Source Hostname” — where your custom domain will show up.
If you see
stream.mux.com in that list, it means there are more instances in your application code that need updating.
Psst. There are tons of other ways you can use Mux Video + Mux Data together. Learn more here.
Meg put it perfectly — the cat is definitely out of the bag about Mux Player. Here’s something she didn’t tell you, though: using Custom Domains is supported with Mux Player! All you need to do is add a
custom-domain attribute to the
<mux-player> HTML5 element, and voila. No need to add a
stream prefix, because Mux Player automatically constructs the right video playback URL.
<mux-player stream-type="on-demand" playback-id="ddelbUriZy02iIgTZx5YLp6fy5eGKzZO7" custom-domain="media.example.com" ></mux-player>
Head over to the Mux Player docs for more information.
Is this the same as RTMP Server URL CNAME’ing?
At this time, Custom Domains are limited to video playback and image delivery. You can CNAME the RTMP server endpoint, but Mux does not support custom domain for the RTMPS endpoint (yet!).
What’s the difference between Custom Domains and the Referrer Validation feature?
Referrer Validation allows you to create a list of domains where your videos can be played. With Custom Domains, you change the playback URL. For example, you can restrict videos to only play on partner-site.com (Referrer Validation) while using the playback URL https://stream.media.example.com/playback_id.m3u8 (Custom Domains).
No credit card to start. $20 in free credits when you're ready.
50 Beale Street, Floor 9
San Francisco, CA, 94105
34-37 Liverpool Street
Unit 4.06, 4th Floor
London, EC2M 7PP