使用自定义域的 Azure 存储 blob 在子域工作时未解析 - 如何设置主机记录?
Azure Storage blob using custom domain is not resolving while subdomain worked - how to set up host records?
昨天我在 Azure 存储中成功设置了自定义子域。
我已经设置 assets.iprobesolutions.com 指向 iprobesolutions.blob.core.windows.net。这是我的主机记录 CNAME 设置的屏幕截图:https://www.dropbox.com/s/ndfmn5dd7m48aqg/Screenshot%202016-05-30%2019.36.11.png?dl=0。正如我所说,这工作正常。
今天我决定让 iprobesolutions.com 指向 iprobesolutions.blob.core.windows.net 并使用间接 CNAME 验证让 Azure 接受域。
但是 http://iprobesolutions.blob.core.windows.net/docs/installation-note-en-us-bosch-dicentis-wireless-installation-set-up.pdf is resolving, when I try the following it does not resolve http://iprobesolutions.com/docs/installation-note-en-us-bosch-dicentis-wireless-installation-set-up.pdf 并且我收到错误 "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable"。
这些是我的 iprobesolutions.com 主机记录设置:https://www.dropbox.com/s/xqw2d9k3gj6mnjs/Screenshot%202016-05-30%2021.30.22.png?dl=0
几个小时以来,我尝试了多种组合,但无法正常工作....
有人知道我错过了什么吗? iprobesolutions.com 托管在 Azure 应用服务中。我不能对托管和 blob 存储使用相同的域吗?
我认为您的问题是您必须在 CNAME 记录中包含子域。
来自https://azure.microsoft.com/en-us/documentation/articles/storage-custom-domain-name/:
A CNAME record is a DNS feature that maps a source domain to a
destination domain. In this case, the source domain is your custom
domain and subdomain--note that the subdomain is always required.
您可以尝试使用子域进行第二次映射,看看是否可行吗?
您不能将域同时映射到 Web 应用(运行 在应用服务中)和存储。此外,您不能对根域进行 CNAME(因此您不能将 iprobesolutions.com 映射到 blob 存储)。
不过,您应该能够将 www.iprobesolutions.com 映射到 blob 存储。但请注意,如果您这样做,任何输入 www.iprobesolutions.com 的人都不会被带到您的 Web 应用程序,这是预期的行为。您可能需要重新考虑该操作过程,并改用 storage.iprobesolutions.com 或类似的东西。
昨天我在 Azure 存储中成功设置了自定义子域。 我已经设置 assets.iprobesolutions.com 指向 iprobesolutions.blob.core.windows.net。这是我的主机记录 CNAME 设置的屏幕截图:https://www.dropbox.com/s/ndfmn5dd7m48aqg/Screenshot%202016-05-30%2019.36.11.png?dl=0。正如我所说,这工作正常。
今天我决定让 iprobesolutions.com 指向 iprobesolutions.blob.core.windows.net 并使用间接 CNAME 验证让 Azure 接受域。
但是 http://iprobesolutions.blob.core.windows.net/docs/installation-note-en-us-bosch-dicentis-wireless-installation-set-up.pdf is resolving, when I try the following it does not resolve http://iprobesolutions.com/docs/installation-note-en-us-bosch-dicentis-wireless-installation-set-up.pdf 并且我收到错误 "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable"。
这些是我的 iprobesolutions.com 主机记录设置:https://www.dropbox.com/s/xqw2d9k3gj6mnjs/Screenshot%202016-05-30%2021.30.22.png?dl=0
几个小时以来,我尝试了多种组合,但无法正常工作....
有人知道我错过了什么吗? iprobesolutions.com 托管在 Azure 应用服务中。我不能对托管和 blob 存储使用相同的域吗?
我认为您的问题是您必须在 CNAME 记录中包含子域。
来自https://azure.microsoft.com/en-us/documentation/articles/storage-custom-domain-name/:
A CNAME record is a DNS feature that maps a source domain to a destination domain. In this case, the source domain is your custom domain and subdomain--note that the subdomain is always required.
您可以尝试使用子域进行第二次映射,看看是否可行吗?
您不能将域同时映射到 Web 应用(运行 在应用服务中)和存储。此外,您不能对根域进行 CNAME(因此您不能将 iprobesolutions.com 映射到 blob 存储)。
不过,您应该能够将 www.iprobesolutions.com 映射到 blob 存储。但请注意,如果您这样做,任何输入 www.iprobesolutions.com 的人都不会被带到您的 Web 应用程序,这是预期的行为。您可能需要重新考虑该操作过程,并改用 storage.iprobesolutions.com 或类似的东西。