【发布时间】:2023-03-09 08:41:01
【问题描述】:
我有一个通过 GoDaddy 注册的域。
目前有一条A记录在哪里:
- 主持人:@
- 指向:IP 地址
这是指向当前正在为该站点提供服务的服务器。
我在 Azure 存储静态 web blob 中也有该站点,并且端点正在为该站点提供服务,一切都很好。
我尝试通过“asverify”方法注册一个自定义域(见下文),Azure 报告它可以工作。 我的自定义域“example.com”被接受并且一切正常除了导航到https://example.com 永远不起作用(在禁用上面的 A 记录之后)。
Create a CNAME record with your DNS provider that points from the "asverify" subdomain (like asverify.www.contoso.com) to asverify.staticweb.blob.core.windows.net or asverify.staticweb.z5.web.core.windows.net. After this step completes, enter your domain below (exclude the 'asverify' subdomain). This method does not incur any downtime. To use this method, select the 'Use indirect CNAME validation' checkbox.
我以前用 AppServices 做过类似的事情。我有另一个域已添加到不是子域的 AppService(所以它是 https://anotherexample.com 不是 https://www.anotherexample.com)。这是通过将 TXT 记录添加到 GoDaddy 的 DNS 来完成的,并且运行良好。
Azure 存储是否允许您使用非子域执行此操作?这是我想要访问该网站的唯一方式。
【问题讨论】:
标签: azure dns azure-storage