All Products
Search
Document Center

Configure CNAME on DNSPod

Last Updated: Aug 13, 2019

Overview

To use your own domain name in VOD, you must bind the domain name to a CDN domain and then resolve an IP address from the CDN domain.

After you add your domain name to VOD, a valid CNAME address is automatically generated. You must contact the DNS service provider to add a CNAME record for your domain name, in order to accelerate content delivery.

Procedure

Retrieve the CDN domain and CNAME

In the VOD console, choose Domain Names > Domain Names and copy the CNAME value of the CDN domain.

1. After adding the domain name, you can see the assigned CNAME domain.

2. On the Domain Names page, locate the CNAME domain corresponding to the target domain name and copy the CNAME domain for resolution configuration.

Domain names

Change DNS resolution record and integrate CDN

1. Log on to DNSPod and click Console.

DNSPod homepage

2. Choose DNS on the left. Then, on the Domain Names page, click the domain name that you want to activate the CDN service for and then go to the Add CNAME Record page.

Domain names

3. Set the CNAME record as follows:

  • Select CNAME as the record type.
  • Select the ISP type. If no selection is made, the resolution may exclude certain users. Select the default value for all users, except Unicom users.
  • In the VOD console, choose Global Settings > Domain Names and copy the CNAME value. Enter the CNAME value in the Add DNS Record dialog box.
  • Set the TTL to the default value.

Detailed settings

4. After configuring the settings, click Save to complete the resolution configuration.

Notes:

  • Typically, CNAME domain name resolution takes effect globally after 72 hours.
  • After a few minutes, ping the IP address resolved from the domain address by DNS. If the IP address can be successfully pinged, the CNAME was successfully configured. If the ping fails, troubleshoot the problem according to the preceding steps.
  • The prefix of the resolution record must be unique. Otherwise, the CNAME record conflicts with another record type using the same domain name. For example, if your domain name is example.com and a record is set for www.example.com, you cannot set another type of resolution record (such as the A record) for www.example.com.