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
- Configure the CNAME records in the corresponding DNS service provider admin console. For details, check with your DNS service provider.
- 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.
-
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 -
Log in to the domain name provider’s management console, and find the domain name management page or DNS settings page.
-
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).
| Parameter | Description | Configuration |
|---|---|---|
| Type | Configuration item | Select CNAME |
| Host/Name | Hostname/subdomain name | publish-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 to | Target hostname/target domain name | publish-ws1.xxx.xx.xx.com |
| TTL (second) | DNS record lifetime | Select Default. |
3. Domain name service provider configuration example
Here are some CNAME configuration examples from common vendors.
3.1 Godaddy
- Configuration guide:Add a CNAME record
- Configuration result:

3.2 o2switch
- Configuration guide:Éditeur de zone DNS (Zone editor)
- Configuration result:

