After you add an accelerated domain name, Alibaba Cloud CDN assigns a canonical name (CNAME) to it. You must add a DNS record with your DNS service provider to map the accelerated domain name to the CNAME. This process redirects access requests to CDN points of presence (POPs) and accelerates content delivery. This topic uses Tencent Cloud DNSPod as an example to show you how to configure a CNAME record.
Background information
Before you configure a CNAME record, make sure that you understand the following concepts:
Prerequisites
An accelerated domain name is added to Alibaba Cloud CDN. If you have not added one, see Add an accelerated domain name.
Procedure
Obtain the CNAME for the accelerated domain name.
Log on to the ApsaraVideo VOD console.
In the navigation pane on the left, choose Configuration Management > CDN Configuration > Domain Names.
Find the domain name for which you want to configure a CNAME record. Hover over the view icon and copy the CNAME. You will need this CNAME to add the CNAME record.

Configure CNAME resolution.
Log on to the Tencent Cloud DNSPod domain name resolution console.
On the domain name resolution page, click Add Record to add a CNAME record.
Parameter
Description
Example
Host
If the accelerated domain name is a root domain, set Host to
@.If the accelerated domain name is a wildcard domain name, set Host to
*.If the accelerated domain name is a subdomain, set Host to the subdomain prefix.
Root domain example
Accelerated domain name: aliyundoc.com. Host:
@.Accelerated domain name: aliyundoc.com.cn. Host:
@.
Wildcard domain name example
Accelerated domain name: .aliyundoc.com. Host:
*.Accelerated domain name: .aliyundoc.com.cn. Host:
*.Accelerated domain name: *.example.aliyundoc.com. Host:
*.example.Accelerated domain name: *.example.aliyundoc.com.cn. Host:
*.example.
Subdomain example
Accelerated domain name: example.aliyundoc.com. Host:
example.Accelerated domain name: example.aliyundoc.com.cn. Host:
example.Accelerated domain name: www.example.aliyundoc.com. Host:
www.example.Accelerated domain name: www.example.aliyundoc.com.cn. Host:
www.example.
NoteAccelerated domain names that end with .com.cn are examples of top-level domains with two labels.
Type
Select CNAME.
CNAME
Line Type
Select Default.
Use the default value.
Value
Enter the CNAME value that corresponds to the accelerated domain name. This is the CNAME that you copied in Step 1.
NoteEach accelerated domain name has a unique CNAME. A second-level domain cannot use the CNAME of its root domain. To accelerate a second-level domain, add it to Alibaba Cloud CDN and map it to its corresponding CNAME.
www.example.com.w.kunlunsl.com
Weight
You do not need to set this parameter.
N/A
MX
You do not need to set this parameter.
N/A
TTL
TTL is the cache time. The smaller the value, the faster the modified record takes effect. The default value is 10 minutes.
Use the default value.
Click Save.
After the CNAME record is configured and takes effect, the acceleration service is enabled.
NoteA new CNAME record takes effect in real time. A modified CNAME record takes effect within 72 hours.
After you configure the CNAME record, the status may take about 10 minutes to update. The Domain Names page in the console may still show a message indicating that a CNAME record is not configured. You can ignore this message.
Verify that the CNAME record has taken effect.
In Windows, open the Command Prompt.
In the command line, run the ping command for the accelerated domain name. If the domain name is resolved to the CNAME that is specified in the ApsaraVideo VOD console, the ApsaraVideo VOD CDN acceleration service has taken effect.
