logo
On this page

How to configure CNAME records


A Canonical Name (CNAME) record is a type of resource record in the DNS that maps one domain name (an alias) to another (the canonical name).

After your Live Streaming service is enabled, you will be given a CNAME domain name(CNAME URL). To make this CNAME domain name accessible, you need to complete the CNAME configuration at your DNS provider first. When the configuration takes effect, you can use the Live Streaming service.

1 Notes

  1. Configure the CNAME records in the corresponding DNS service provider admin console. For details, check with your DNS service provider.
  2. The time it takes for a CNAME record to take effect varies by DNS service providers. Generally, it takes effect within 30 minutes. After you complete the configuration, you can contact ZEGOCLOUD Technical Support to check whether the CNAME record works correctly.

2 Configuration instructions

This document provides instructions for CNAME configuration on GoDaddy and o2switch. In case the instructions provided here are inconsistent with the instructions provided by your DNS service provider, follow your DNS service provider's instructions. Next is an introduction to the overall configuration process.

  1. After receiving the reminder email to configure the CNAME URL, log in to the ZEGOCLOUD console and copy the corresponding subdomain name and target domain name, as shown in the following example:

    # Copy these information
    publish-ws1.xxx.xx.xx CNAME publish-ws1.xxx.xx.xx.com
    play-ws1.xxx.xx.xx CNAME play-ws1.xxx.xx.xx.com
  2. Log in to the domain name provider’s management console, and find the domain name management page or DNS settings page.

  3. Add a new CNAME record (One record for one domain name),the configuration usually contains the following fields (there may be differences between different platforms, depending on the actual needs, here is for reference only).

ParameterDescriptionConfiguration
TypeConfiguration itemSelect CNAME
Host/NameHostname/subdomain namepublish-ws1(Some platforms require a primary domain name, while others do not. It depends on the requirements of each domain name platform.)
Data/Value/Point toTarget hostname/target domain namepublish-ws1.xxx.xx.xx.com
TTL (second)DNS record lifetimeSelect Default.

3. Domain name service provider configuration example

Here are some CNAME configuration examples from common vendors.

3.1 Godaddy

  1. Configuration guide:Add a CNAME record
  2. Configuration result:

3.2 o2switch

  1. Configuration guide:Éditeur de zone DNS (Zone editor)
  2. Configuration result:

Previous

Live Streaming Service

Next

Bill Management

On this page

Back to top