Overview
An access domain name is a canonical name (CNAME) that is used to connect a business domain name to Global Traffic Manager (GTM) 3.0. This topic describes how to configure an access domain name.
Configuration process
When you configure an access domain name in GTM 3.0, you need to select a public domain name that is hosted by Alibaba Cloud DNS within your Alibaba Cloud account and specify it as the suffix of the access domain name. You can refer to the following process to configure an access domain name:
If the Domain Name System (DNS) resolution service that you use is not provided by Alibaba Cloud, you can migrate your DNS data to Alibaba Cloud DNS. For more information, see Smooth domain name migration.
If your DNS data cannot be migrated to Alibaba Cloud, you can let Alibaba Cloud DNS host the subdomain name by using a name server (NS) record and then generate an access domain name. For more information, see Manage subdomains.
In this example, you have added the domain name cloud-example.com
in the Alibaba Cloud DNS console.
Method 1: Configure a CNAME record
If you use this method, you must configure an access domain name in GTM 3.0 first, and then add a CNAME record at the DNS service provider of your domain name to map your domain name to the access domain name in GTM 3.0. You can perform the following steps to connect the business domain name www.dns-example.top
to GTM 3.0.
After you complete the configuration on the Basic Access Domain Name Configuration page of GTM 3.0, the access domain name
gtm.cloud-example.com
is generated. For more information, see the Basic configuration parameters section of the GTM configuration process topic.NoteYou can enter a hostname that is easy to identify and remember. However, the suffix of the access domain name must be an existing domain name within your Alibaba Cloud account.
Configure a CNAME record for the business domain name at the DNS service provider of the domain name
dns-example.top
. The CNAME record is used to map the business domain namewww.dns-example.top
to the access domain namegtm.cloud-example.com
.
Method 2: Specify a business domain name as an access domain name
You can use this method only when your domain name is hosted by Alibaba Cloud DNS and the DNS service provider of your business domain name is Alibaba Cloud.
When you use this method, the access domain name in GTM 3.0 must be the same as your business domain name. You can perform the following steps to connect the business domain name www.cloud-example.com
to GTM 3.0:
After you complete the configuration on the Basic Access Domain Name Configuration page of GTM 3.0, the access domain name
www.cloud-example.com
is generated. For more information, see the Basic configuration parameters section of the GTM configuration process topic.NoteEnter the hostname of your business domain name, and select a primary domain name that is hosted by Alibaba Cloud DNS from the drop-down list. In this example,
cloud-example.com
is selected.After all configurations in GTM 3.0 are complete, directly enable the access domain name. Then, the intelligent scheduling policies and the failover feature of GTM 3.0 can be applied to the business domain name
www.cloud-example.com
.WarningIf DNS records have been configured for your business domain name
www.cloud-example.com
in Alibaba Cloud DNS and the access domain name in GTM 3.0 is enabled, the DNS records added in the Alibaba Cloud DNS console will become invalid and the intelligent resolution configurations in GTM 3.0 will take effect.