All Products
Search
Document Center

Alibaba Cloud DNS:Add a CNAME record for a domain name

Last Updated:Aug 24, 2023

Overview

You can add a canonical name (CNAME) record for a domain name to point the domain name to the CNAME provided by a content delivery network (CDN) vendor. This accelerates website access.

Prerequisites

To activate the CDN service, you must point the domain name that you want to accelerate to the CNAME provided by your CDN vendor. This way, requests to the accelerated domain name can be forwarded to CDN nodes. To obtain the CNAME, contact your CDN vendor.

The following section describes how to obtain the CNAME in the Alibaba Cloud CDN console.

  1. Log on to the Alibaba Cloud CDN console, and click Domain Names in the left-side navigation pane.

  2. Copy the CNAME of the domain name that you want to accelerate.

    image.png

Add a CNAME record

  1. Log on to the Alibaba Cloud DNS console.

  2. On the Domain Name Resolution page, click the Authoritative Domain Names tab, and click the domain name that you want to accelerate. The DNS Settings page appears.

    image.png
  3. Click Add DNS Record and configure the CNAME record. Set the Record Value parameter to the CNAME that is provided by the CDN vendor.

    image.pngimage.png
  4. After you add the CNAME record in the Alibaba Cloud DNS console, the CNAME record takes effect immediately and the CDN service is also activated. For more information about how to check whether the CNAME record takes effect, see Check whether the DNS records take effect.