点到Azure资源组Web应用程序的IP地址 [英] Point IP Address to Azure Resource Group Web App

查看:628
本文介绍了点到Azure资源组Web应用程序的IP地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在玩一个Azure资源组中的Web应用程序,我正在使用我的个人域名(我目前没有使用任何东西)来学习和播放:woodswild.com。 / p>

我已经在



结果是我现在可以浏览到 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屋!

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