Overview
An access domain name is a canonical name (CNAME) that is used to connect a business domain name to Global Traffic Manager (GTM). This topic describes how to configure an access domain name.
Configuration process
When you configure an access domain name in GTM, you need to select a public domain name of Alibaba Cloud DNS and use it as the suffix of the access domain name within your Alibaba Cloud account. You can refer to the following process to configure an access domain name.
If the domain name system (DNS) 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 use the subdomain management feature to host the subdomain name on Alibaba Cloud DNS by using a name server (NS) record. Then, an access domain name is generated. For more information about the subdomain management feature, see Manage subdomains.
For example, you have added the domain name cloud-example.com
in the Alibaba Cloud DNS console.
Method 1: Configure an access domain name by using a CNAME
If you use this method, you must configure an access domain name in GTM, and then add a CNAME record at the DNS service provider of your domain name to point your domain name to the access domain name in GTM. For example, you want to connect the business domain name www.dns-example.top
to GTM.
After you complete the configuration on the Basic Access Domain Name Configuration page of GTM, the access domain name
gtm.cloud-example.com
is generated.NoteYou can enter a host record that is easy for you 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 point the business domain name to the access domain name. Example:www.dns-example.top
CNAME
gtm.cloud-example.com
.
Method 2: Configure a business domain name that you want to connect to GTM
You can use this method only when your domain name is hosted on Alibaba Cloud DNS and the DNS service provider of your business domain name is Alibaba Cloud.
When you use this method, you must configure your business domain name as the access domain name in GTM. For example, you want to connect the business domain name www.cloud-example.com
to GTM.
After you complete the configuration on the Basic Access Domain Name Configuration page of GTM, the access domain name
www.cloud-example.com
is generated.NoteEnter the host name of your business domain name in the host name text box, and select a primary domain name that is hosted on Alibaba Cloud DNS from the drop-down list. In this example, select
cloud-example.com
.After all GTM configurations are complete, directly enable the access domain name. Then, the intelligent scheduling policies and the failover feature of GTM 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 is enabled, the DNS records added in the Alibaba Cloud DNS console will become invalid and the intelligent resolution configurations in GTM will take effect.