All Products
Search
Document Center

Configure a CNAME record for CDN

Last Updated: Apr 22, 2020

Overview

You can point a domain name to the CNAME provided by the CDN provider.

Prerequisites

To use the Content Delivery Network (CDN) service, you must point an origin domain to the CNAME. Then, requests destined for the origin domain can be redirected to CDN nodes. You can contact your CDN service provider to obtain the CNAME.

In this topic, the CNAME provided by Alibaba Cloud CDN is used as an example.

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

  2. Obtain the CNAME of an origin domain.

CDN记录值

Add a CNAME record

1 . Log on to the Alibaba Cloud DNS console

2 . In the left-side navigation pane, click Manage DNS. On the Domains tab, click a domain name to go to the DNS Settings page.

域名解析列表页

3 . Click the Add Record button. In the dialog box that appears, enter the CNAME provided by the CDN provider in the Value field.

添加记录按钮

CDN的CNAME记录

4 . The CDN service immediately takes effect after a new CNAME record is added.