This topic describes how to configure a CNAME on Tencent Cloud (formerly DNSPod). After you add a domain, Alibaba Cloud CDN assigns a CNAME address to the domain. You must point the domain to its CNAME address so that CDN can direct the requests destined for the domain to CDN nodes.
- Obtain the CNAME of the target domain name. To obtain the CNAME, complete these steps:
- Log on to the Alibaba Cloud CDN console.
- In the left-side navigation pane, click Domain Names, then find the target domain name. In the CNAME column, copy the CNAME.
- Add a CNAME record to Tentcent Cloud (DNSPod). To add a CNAME record to Tencent, complete
- Log on to the DNS console of Tencent Cloud (DNSPod).
- On the DNS page for the target domain name, click the button for adding a CNAME record.
- Set the following parameters:
- Type: Select CNAME.
- Host: Enter the prefix of the domain name.
- ISP Line: Retain the default value.
- Value: Enter the CNAME obtained in Step 1.
- TTL: Retain the default value.
- Save the settings.
The CDN service takes effect immediately after the new CNAME record takes effect.Note
- A new CNAME record takes effect immediately, but a modified CNAME record takes effect within 72 hours.
- After you add a CNAME record, it takes about 10 minutes to update the status of the corresponding domain name.
- Verify that the new CNAME record takes effect.
The time when a new CNAME record takes effect varies depending on the DNS provider.
You can run the ping or dig command to check whether the target domain is accessible. If the access request is directed to
*.*kunlun*.com, the CNAME record and CDN service both take effect.