0

I created a 3-level Azure Traffic Manager. But it doesn't work.

At the top tier, it's called myroot.trafficmanager.net. At the middle tier, there are 2 nested traffic manager profile called mysub1.trafficmanager.net and mysub2.trafficmanager.net. At the bottom tier, each nested traffic manager profile has 2 endpoints, Azure websites.

The balancing method of the top tier is Round Robin. The balancing method of the middle tier is Performance.

I used Azure PowerShell cmdlets to create the mapping between the top tier and the middle tier.

PS C:\> Get-AzureTrafficManagerProfile -Name “myroot"
PS C:\> $TrafficManagerProfile = Get-AzureTrafficManagerProfile -Name "myroot"
PS C:\> Add-AzureTrafficManagerEndpoint -TrafficManagerProfile $TrafficManagerProfile -DomainName "mysub1.trafficmanager.net" -Status "Enabled" -Type "TrafficManager" | Set-AzureTrafficManagerProfile
PS C:\> $TrafficManagerProfile = Get-AzureTrafficManagerProfile -Name "myroot"
PS C:\> Add-AzureTrafficManagerEndpoint -TrafficManagerProfile $TrafficManagerProfile -DomainName "mysub2.trafficmanager.net" -Status "Enabled" -Type "TrafficManager" | Set-AzureTrafficManagerProfile

After the above command is done. I can use nslookup myroot.trafficmanager.net command to see the IP have been directed to the right endpoint. But when I open myroot.trafficmanager.net in the browser, I got the error:

Error 404 - Web app not found.

I would appreciate if anyone could give me any clue.

4

1 回答 1

1

这很可能是因为您的顶级流量管理器域 ( myroot.trafficmanager.net) 没有作为自定义域映射到您的 Web 应用程序(网站)。这是因为,您的网站只知道mysub1.trafficmanager.net)。

您可以通过使用自定义域来解决您的问题,并将您的自定义域正确映射到您的 Azure Web App。然后,还将您的自定义域映射到您的流量管理器域

于 2015-07-20T06:17:24.587 回答