添加自定义域失败:此主机名已被Web应用程序使用 [英] Add custom domain fails: This hostname is already being used by the web app
问题描述
我正在尝试将自定义域添加到网络应用中,但它失败并显示错误该域已添加到(相同)Web应用程序中。这是一个丹麦字母'æ'的域名。
I'm trying to add a custom domain to a web app, but it fails with an error that the domain is already added to the (same) web app. It's a domain with the Danish letter 'æ'.
已经添加了类似的自定义域名,其中包含'a'和'ae'。但是'æ'不在添加域列表中。
A similar, custom domain is already added, with an 'a', and with an 'ae'. But the one with 'æ' is not on the list of added domains.
当我访问域名时,它显示Azure 404错误;
Azure中尚未配置自定义域。了解如何映射现有域以解决此问题。客户端缓存仍将域指向旧IP地址。通过运行命令ipconfig / flushdns清除缓存。
以下错误显示,当我尝试添加时Azure控制面板中的域:
有关如何添加域名的任何建议吗?
Any suggestions on how to add the domain?
亲切的问候,
Morten
推荐答案
请仔细检查以查看是否正确添加了DNS记录,如下所示:
- 为您的应用配置域名,请参阅 h用于映射现有域的
。 - 如果您添加了A记录,请确保还添加了TXT记录。有关详细信息,请参阅 此处
- 浏览器客户端可能仍在缓存您域的旧IP地址。通过运行命令清除缓存 ipconfig
/ flushdns。 使用 WhatsmyDNS.net 。
- Configure the domain to your app, see how to map an existing domain .
- If you added an A record , make sure a TXT record is also added. For more details , see here
- The browser client might still be caching the old IP address for your domain. Clear the cache by running the command ipconfig /flushdns . Verify your domain is pointing to the web app IP address using WhatsmyDNS.net .
< span lang ="EN-IN"style ="font-size:10.0pt; FONT-FAMILY:"宋体",无衬线;颜色:#333333; background:white">如果自定义域名未显示,则可能需要一些时间(最多48小时取决于DNS提供商),新主机名将反映在应用程序的自定义域页面的
中。尝试刷新浏览器更新数据。您也可以注销并重新登录Azure门户,然后重新尝试。
这篇关于添加自定义域失败:此主机名已被Web应用程序使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!