使用自定义域的Azure Storage blob在子域工作时不能解析 - 如何设置主机记录? [英] Azure Storage blob using custom domain is not resolving while subdomain worked - how to set up host records?

查看:310
本文介绍了使用自定义域的Azure Storage blob在子域工作时不能解析 - 如何设置主机记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

昨天我已经在Azure存储中成功设置了一个自定义子域。
我已经设置asset.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,并获得了远至Azure使用间接CNAME验证接受域。



然而 http://iprobesolutions.blob.core.windows.net/docs/installation-note-en-us-bosch-dicentis-wireless-installation-set- up.pdf 解决,当我尝试以下它不解决 http://iprobesolutions.com/docs/installation-note-en-us-bosch-dicentis-wireless-installation-set-up.pdf ,我得到错误您正在寻找的资源已被删除,名称已更改或暂时不可用。



这些是我的主机记录设置为iprobesolutions.com: a href =https://www.dropbox.com/s/xqw2d9k3gj6mnjs/Screenshot%202016-05-30%2021.30.22.png?dl=0 =nofollow> https://www.dropbox。 COM / S / xqw2d9k3gj6mnjs /截图%202016-05-30%2021.30.22.png?DL = 0



我尝试了很多组合几个小时,无法让它工作....



解决方案

您无法将域映射到网络应用程序(在应用程序服务中运行)和存储。此外,您不能CNAME根域名(所以您不能将iprobesolutions.com映射到blob存储)。



尽管如此,您应该可以将www.iprobesolutions.com映射到blob存储。但是要意识到如果您这样做,任何输入www.iprobesolutions.com的人都不会被带到您的网络应用程序,这是预期的行为。您可能需要重新考虑该操作方法,并使用storage.iprobesolutions.com或类似的操作。


Yesterday I had successfully setup a custom subdomain in Azure storage. I had set up assets.iprobesolutions.com to point to iprobesolutions.blob.core.windows.net. This is a screenshot of my host records CNAME set up: https://www.dropbox.com/s/ndfmn5dd7m48aqg/Screenshot%202016-05-30%2019.36.11.png?dl=0. As I said, this was working fine.

Today I decided instead to have iprobesolutions.com point to iprobesolutions.blob.core.windows.net and got as far as Azure accepting the domain using the indirect CNAME validation.

However while 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 and I get error "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable".

These are my host record setups for iprobesolutions.com: https://www.dropbox.com/s/xqw2d9k3gj6mnjs/Screenshot%202016-05-30%2021.30.22.png?dl=0

I've tried many combinations for a few hours and can't get it to work....

Does anyone have an idea what I'm missing ? iprobesolutions.com is hosted in azure app service. Can't I use the same domain for both hosting and blob storage ?

解决方案

You can't map a domain to both a web app (running in the app service) and storage. Also, you can't CNAME the root domain (so you can't map iprobesolutions.com to blob storage).

You should be able to map www.iprobesolutions.com to blob storage, though. But realize if you do this, anybody who types in www.iprobesolutions.com will not be taken to your web app, which is the expected behavior. You might want to reconsider that course of action, and use storage.iprobesolutions.com or something like that instead.

这篇关于使用自定义域的Azure Storage blob在子域工作时不能解析 - 如何设置主机记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆