All Products
Search
Document Center

ApsaraVideo VOD:Configure a CNAME record on DNSPod

Last Updated:Sep 21, 2026

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, you should 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

  1. Obtain the CNAME of the accelerated domain name.

    1. Log on to the ApsaraVideo VOD console.

    2. In the left-side navigation pane, choose Configuration Management > CDN Configuration > Domain Names.

    3. Find the domain name for which you want to configure a CNAME, hover the pointer over the view icon, and then copy its CNAME value. You will use this value when you add the CNAME record.

  2. Configure CNAME resolution.

    1. Log on to the Tencent Cloud DNSPod domain name resolution console.

    2. 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.

      Note

      Accelerated 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.

      Note

      Each 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.

    3. Click Save.

      After the CNAME record is configured and takes effect, the acceleration service is enabled.

      Note
      • A 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.

  3. Verify that the CNAME configuration has taken effect.

    1. Open the command line on Windows.

    2. In the command line, run the ping command for your accelerated domain name. If the CNAME in the response matches the CNAME assigned to the accelerated domain name in the ApsaraVideo VOD console, CDN acceleration for ApsaraVideo VOD is active.

      Microsoft Windows [Version 10.0.17134.950]
      (c) 2018 Microsoft Corporation. All rights reserved.
      
      C:\Users\xxx> ping your.accelerated.domain.name
      
      Pinging your.accelerated.domain.name.w.kunlunsl.com [xxx.xxx.xxx.xxx] with 32 bytes of data:
      Reply from xxx.xxx.xxx.xxx: bytes=32 time=5ms TTL=51
      Reply from xxx.xxx.xxx.xxx: bytes=32 time=5ms TTL=51
      Reply from xxx.xxx.xxx.xxx: bytes=32 time=5ms TTL=51
      Reply from xxx.xxx.xxx.xxx: bytes=32 time=5ms TTL=51

FAQ

How do I test whether CNAME resolution is working?