主机名可用,但未显示在Azure门户中供购买

时间:2020-11-09 21:54:44

标签: azure azure-web-app-service azure-app-service-plans azure-appservice custom-domain

您好,我可以看到主机名(域)在GoDaddy等第三方提供商上可用,但是我无法从门户网站上的Azure App Service域页面购买主机名(域)

在这里,我正在尝试购买Sandeep.com,如屏幕快照中所示,该主机名可用,因为它不在可用域列表中的Azure门户中显示。 enter image description here

1 个答案:

答案 0 :(得分:1)

这是当前的已知问题,产品组正在努力解决此问题,并为应用服务域提供了新的UI,该UI当前处于预览状态,如下所示:

ASD Portal View

PFB可以通过CLI在Azure上购买所需的可用主机名:

•请转到门户->单击搜索栏旁边的Azure CLI,如下所示:

enter image description here

•我选择了powershell,如下所示:

enter image description here

•在这里,我正在尝试购买“ nihakoneru.com”,这不是通过门户网站的选择,如下所示:

enter image description here

•但是,通过在Azure CLI中运行以下命令,我能够验证此域可供购买: “ az appservice域显示术语--hostname nihakoneru.com” enter image description here

这里是Doc,其中包含要通过CLI使用的命令列表,我现在用上述文档中的联系信息(姓名,电子邮件地址,地址等)替换了JSON file中的值,如下所示:如下所示,并将其保存到我的本地。

enter image description here

•现在,我们回到门户-> cli,然后通过单击以下突出显示的内容将此文件上传到Cloud Shell:

enter image description here

•文件上传后,您将看到以下弹出消息:

enter image description here

PFB用于购买域的最终命令:

enter image description here

一旦执行了以上命令,您将看到状态运行了一段时间,直到后端中的过程完成为止。

enter image description here

域名购买完成后,您将看到状态更改为“已完成”,如下所示:

enter image description here

我能够通过访问门户上的“应用服务域”来验证我的域是否已购买,如下所示:

enter image description here

我希望这可以在临时解决方案中有所帮助。