将公司 Internet 域指向 Azure 流量管理器域Point a company Internet domain to an Azure Traffic Manager domain

创建流量管理器配置文件时,Azure 会自动为该配置文件分配一个 DNS 名称。When you create a Traffic Manager profile, Azure automatically assigns a DNS name for that profile. 若要使用 DNS 区域中的某个名称,请创建一条映射到流量管理器配置文件域名的 CNAME DNS 记录。To use a name from your DNS zone, create a CNAME DNS record that maps to the domain name of your Traffic Manager profile. 可以在流量管理器配置文件的“配置”页上的“常规” 部分中找到流量管理器域名。You can find the Traffic Manager domain name in the General section on the Configuration page of the Traffic Manager profile.

例如,若要将名称 www.contoso.com 指向流量管理器 DNS 名称 contoso.trafficmanager.cn,请创建以下 DNS 资源记录:For example, to point name www.contoso.com to the Traffic Manager DNS name contoso.trafficmanager.cn, you create the following DNS resource record:

www.contoso.com IN CNAME contoso.trafficmanager.cn

对 www.contoso.com 发出的所有流量请求都会定向到 contoso.trafficmanager.cn。All traffic requests to www.contoso.com get directed to contoso.trafficmanager.cn.

Important

无法将第二级域(例如 contoso.com)指向流量管理器域。You cannot point a second-level domain, such as contoso.com, to the Traffic Manager domain. DNS 协议标准不允许对二级域名使用 CNAME 记录。DNS protocol standards do not allow CNAME records for second-level domain names.

后续步骤Next steps