Azure 自定义域无法解析

时间:2021-07-26 05:55:54

标签: azure cname

似乎我的 Azure 应用程序的 A CNAME 和 TXT 记录正确,但我的域名仍未解析。 错误: 404 未找到网站。

您可能由于下列原因之一看到此错误:

Custom domain has not been configured inside Azure. See how to map an existing domain to resolve this.
Client cache is still pointing the domain to old IP address. Clear the cache by running the command ipconfig/flushdns.

这是我的源教程: https://docs.microsoft.com/en-us/azure/dns/dns-web-sites-custom-domain

1 个答案:

答案 0 :(得分:1)

如果您收到该消息,则您可能尚未将该域配置为自定义域。

在门户中转到应用 > 自定义域并确保它在那里。

如果您确实添加了它,则 A 记录可能指向错误的 IP。您可以通过在命令行中运行以下命令来检查它是否与自定义域刀片中的匹配:

nslookup <your domain>