我就是这么做的
创建标准层中的Azure网站(http://myapp1.azurewebsites.net)
配置Azure流量管理器,并将端点添加为Azure端点。交通经理的路线到网站。好的!
移除端点,并将端点添加为外部终结点。流量管理器路由到404页。我以myapp1.azurewebsites.net的形式提供了FQDN (完全限定域名)。
这是怎么回事?Azure不允许将.azurewebsites.net站点定义为端点urls吗?
端点详细信息,启用状态监视器状态-降级类型-外部端点

完整的错误页面细节,
Error 404 - Web app not found.
The web app you have attempted to reach is not available in this Microsoft Azure App Service region. This could be due to one of several reasons:
1. The web app owner has registered a custom domain to point to the Microsoft Azure App Service, but has not yet configured Azure to recognize it. Click here to read more.
2. The web app owner has moved the web app to a different region, but the DNS cache is still directing to the old IP Address that was used in the previous region. Click here to read more.发布于 2016-04-22 03:31:40
外部端点需要在Azure网站之外。
发布于 2016-04-22 09:19:47
当使用网站时,该网站需要知道在DNS请求的“主机”标题中所期望的域名。这是用户在浏览器中键入的域名。
在“交通管理器”中将网站添加为端点时,将自动将流量管理器域名(例如mysite.trafficmanager.net)作为自定义域名添加到网站中。当您删除网站终结点时,它将再次被删除。
但是,如果使用外部端点类型,则不会发生这种情况。由于网站不识别主机头中的域名,因此返回404错误。
要做到这一点,您需要使用CNAME将虚荣心域名放在交通经理面前,在您的网站上注册虚荣心域名,并从浏览器中使用虚荣心域名。(您不能手动将流量管理器域名添加到网站,因为您无法完成网站所要求的所有权验证。)
https://stackoverflow.com/questions/36783112
复制相似问题