Mux logo - video home
Docs
  • Introduction to Video
  • Stream video files
  • Start live streaming
    • Configure broadcast software
    • Live streaming from your app
    • Reduce live stream latency
    • Manage Stream Keys
    • Stream recordings of live streams
    • Live streaming FAQs
    • Stream live to 3rd party platforms
    • Use a custom domain for live streaming
    • Handle live stream disconnects
    • Stream simulated live
    • Debug live stream issues
    • Add your own live captions
    • Add auto-generated live captions
  • Build real-time video experiences
  • Make API requests
  • Play your videos
  • Enable static MP4 renditions
  • Download for offline editing
  • Embed videos for social media
  • Listen for webhooks
  • Secure video playback
  • Create clips from your videos
  • Get images from a video
  • Create timeline hover previews
  • Adjust audio levels
  • Add watermarks to your videos
  • Add subtitles to your videos
  • Minimize processing time
  • Upload files directly
  • Autoplay your videos
  • Synchronize video playback
  • Integrate with your CMS
Mux.comLog in
Mux logo - video home
Docs
GuidesAPI ReferenceChangelog

Use a custom domain for live streaming

Use your own domain instead of global-live.mux.com for live streaming ingest. Also known as CNAME-ing or "canonical naming" global-live.mux.com.

In this guide:

Use your own domain name instead of the default domain

Use your own domain name instead of the default domain

CNAME-ing instructions for popular domain services

CNAME-ing instructions for popular domain services

Use your own domain name instead of the default domain

CNAME-ing, short for "Canonical Naming", is a configuration that allows you to change the default name we provide.

To use your own domain instead of global-live.mux.com for live streaming, all you need to do is add a CNAME to your domain's DNS settings that points to global-live.mux.com.

RTMP vs. RTMPS with custom domains

Mux supports both RTMP and RTMPS entry points. Live streams are published at global-live.mux.com.

RTMP supports using custom domains. Custom domains will not work for RTMPS and stream.mux.com (playback URLs).

Please reach out to help@mux.com with additional details of your requirements.

CNAME-ing instructions for popular domain services

Here are a few popular domain services with CNAME-ing instructions. If your domain service is not listed, try searching their support resources.

  • Cloudflare
  • Google Domains
  • AWS Route 53
  • GoDaddy

To show an example of a domain service that offers CNAME configurations, this is what a GoDaddy configuration looks like after it has been edited to include the live.mux.com name.

Note that the CNAME doesn't have to be live or global-live, it can be anything you want it to be.

After configuring your DNS settings it may take a few hours before the new configuration works, depending on your DNS provider.

Migrate from live.mux.com

There are a few differences between live.mux.com and global-live.mux.com:

  • you should see much better performance globally using the new endpoint,
  • but it also supports RTMPS. For security reasons RTMPS is greatly preferred (think HTTPS vs HTTP), but some clients may not handle the secure protocol well. For those clients you can specify the port 5222.

We don't currently offer a way of creating a CNAME for RTMPS, but you can replicate the existing behavior of live.mux.com over RTMP with the added port.

Here are a few examples of RTMPS and RTMP CNAME URLs before and after they are changed to custom domains:

# RTMPS examples
rtmps://global-live.mux.com:443/app
# RTMP examples
rtmp://global-live.mux.com:5222/app
rtmp://your-cname.your-site.com:5222/app 

Please reach out to our Support Team at any time by contacting help@mux.com.

Was this page helpful?