This topic describes how to configure a CNAME record on DNSPod. After you add a domain name for CDN, Alibaba Cloud CDN assigns a canonical domain name (CNAME) to the domain name for CDN. You must add a CNAME record to map the domain name for CDN to the canonical domain name. This ensures that Alibaba Cloud CDN can direct the requests that are destined for the domain name for CDN to Alibaba Cloud CDN nodes.
- a CNAME.
- Log on to the Alibaba Cloud CDN console.
- In the left-side navigation pane, click Domain Names.
- On the Domain Names page, copy the CNAME of the accelerated domain name.
- Add a CNAME record to DNSPod. To add a CNAME record, complete these steps:
- Log on to the DNS console of DNSPod.
- On the domain name resolution page for the target domain name, click Add Record.
- Set the following parameters:
- Type: Select CNAME.
- Host: Enter the prefix of the domain name for CDN. For example, if your domain name
for CDN is
testcdn.aliyun.com, its prefix is
- Value: Enter the CNAME domain name that you have obtained in step 1.
- ISP Line: Use the default value.
- TTL: Use the default value.
- Click Save.The CNAME record is added. After the CNAME record takes effect, CDN acceleration is automatically enabled for the domain name.Note
- After you add a CNAME record, it immediately takes effect. After you modify a CNAME record, the modifications take effect within 72 hours.
- After you add a CNAME record, it takes approximately 10 minutes for the system to update the status in the console. The system may prompt that you must add a CNAME record. Ignore the message.
- Check whether the CNAME record has taken effect.
- Open the Command Prompt in Windows.
- Use the Command Prompt to ping the accelerated domain name. If the CNAME in the output matches the CNAME assigned
to the accelerated domain name in the Alibaba Cloud CDN console, it indicates that
CDN acceleration is enabled.