将自定义域添加到 Azure 暂存 Web 应用时出错 blade

Getting error when adding custom domain to Azure staging web app blade

我们想要创建一个子域 staging.example.com,以指向 Azure 中的暂存 blade。我们正在学习本教程:https://azure.microsoft.com/en-us/documentation/articles/web-sites-custom-domain-name/

当我们到达第 5 步时,("Click Save to save the domain name configuration"),我们得到这个错误:

Failed to update SSL settings for prayrchainangular(staging): There was an error processing your request. Please try again in a few moments.

我们设置了一条A记录和两条CNAME记录如下:

一个记录: 别名

知道为什么我们会收到此 Azure 错误并且无法将我们的域名保存到暂存 blade 吗?

试试旧门户:

Select 您的网站来自列表 >> 仪表板 >> 自定义域(底部栏)

或注销/重新登录。

基本上这就是发生的事情。我们试图在 https://portal.azure.com instead of the old portal at https://manage.windowsazure.com 上使用新的 Beta 版 Azure。下面这篇文章为我们指明了正确的方向:

http://weblogs.asp.net/scottgu/windows-azure-staging-publishing-support-for-web-sites-monitoring-improvements-hyper-v-recovery-manager-ga-and-pci-compliance

上面的第一个 CNAME (awverify.staging) 完全没有必要。我们只需要第二个。

令人困惑的是,暂存 blade 是主 Web 应用程序的 child,您无法在 All Items 上访问此暂存 blade 旧门户中的选项卡。您必须转到 Web Apps,然后您会在每个 Web 应用程序的左侧看到一个箭头,用于切换其隐藏的 children。我们几乎花了一个多小时才弄明白。