点到Azure资源组Web应用程序的IP地址 [英] Point IP Address to Azure Resource Group Web App
问题描述
我已经在
结果是我现在可以浏览到 http://www.woods wild.com ,它解决了!我得到了Azure即将推出的消息。
所以现在我的问题是:是否可以浏览到 http://23.99.206.151 ,并且也解决了woodswild.azurewebsites.net?如果是这样,那么如何?
谢谢!
更容易一个 -
否。
由于所有的IP地址都是Azure Web App之前的负载均衡器,所以可能会为千个不同的网站提供服务。通过检查标题,Azure过滤器的请求到哪里。即浏览器中输入的内容。
I am playing around with setting up a Web App in an Azure Resource Group, and I'm using a personal domain of mine (that I'm not currently using for anything) to learn and play: woodswild.com.
I've got the Web App all set up at http://woodswild.azurewebsites.net. There's nothing there right now except Azure's "Coming Soon" screen, and that's fine. I've also logged into GoDaddy and added this A Host Record:
Host Points To
---- -------------
@ 23.99.206.151
And a few CName Records:
Host Points To:
------------ ------------------------------------------
www woodswild.azurewebsites.net
awverify.www awverify.woodswild.azurewebsites.net
awverify awverify.woodswild.azurewebsites.net
And then in the Azure Portal UI, I've added the following in the 'Bring External Domains' section of the Web App:
The result is that I can now browse to http://www.woodswild.com, and it resolves! I get the Azure "Coming Soon" message.
So now my question is: Is it possible to also browse to http://23.99.206.151 and have that also resolve to woodswild.azurewebsites.net? If so, how?
Thanks!
This is a much easier one -
No.
Because all that IP address is is the load balancer out in front of Azure Web App, it could be serving a thousand different websites. Azure filters which request goes where by inspecting the headers. i.e. what was typed in the browser.
这篇关于点到Azure资源组Web应用程序的IP地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!