After you add an accelerated domain, Alibaba Cloud Content Delivery Network (CDN) team will assign a CNAME domain to the accelerated domain. To enable the CDN service, you must add a Canonical Name (CNAME) record to map the accelerated domain to the CNAME domain. In this way, requests sent to the accelerated domain can be redirected to the CDN nodes that are nearest to the clients that make the requests. This topic describes how to add a CNAME record for your accelerated domain on Alibaba Cloud Domain Name System (DNS) (previously known as HiChina).
- Obtain the CNAME domain for an accelerated domain.
- In the left-side navigation pane, click Domain Names.
- On the Domain Names page, copy the CNAME domain of your accelerated domain.
- Add a CNAME record.
- Log on to the Alibaba Cloud DNS console.
- On the Manage DNS page, click the Domains tab, select a domain, and then click Configure in the Actions column for the domain.
- Click Add Record to add a CNAME record.
- Type: Select
CNAMEfrom the drop-down list.
- Host: Enter the prefix of the accelerated domain.
Accelerated domain Host
- ISP Line: Use the default value.
- Value: Enter the CNAME domain that you have copied in step 1.
- TTL: Use the default value.
- Type: Select
- Click OK.
The CNAME record is added. Immediately after you add the record on Alibaba Cloud DNS, the CNAME record takes effect, and the CDN service is automatically enabled.Note
- If you modify the CNAME record, the record takes effect within 72 hours after the modification.
- After you add a CNAME record, it takes approximately 10 minutes to update the status in the console. The message "You must add the CNAME record" may still appear on the Domain Names page. Ignore this message.
- Check whether a new CNAME record takes effect.
- Open the Command Prompt in Windows.
- Enter ping or dig and the accelerated domain.
If the output includes
*.*kunlun*.com, both the CNAME record and the CDN service have taken effect.