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

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

问题描述

我在一个蓝色的资源组建立一个Web应用程序玩弄,而我使用我的个人域名(我不是目前使用的任何东西),以学习和玩耍。woodswild.com

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.

我已经得到了Web应用程序的所有设置在 http://woodswild.azurewebsites.net 。有什么都没有,现在除了Azure中的预购屏幕,这很好。我也登录到GoDaddy的,并添加这个主机记录:

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

和几个CNAME记录:

And a few CName Records:

Host             Points To:
------------     ------------------------------------------
www              woodswild.azurewebsites.net
awverify.www     awverify.woodswild.azurewebsites.net
awverify         awverify.woodswild.azurewebsites.net

然后在Azure的门户网站UI,我添加了继带来外部域的Web应用程序的部分:

And then in the Azure Portal UI, I've added the following in the 'Bring External Domains' section of the Web App:

在这里输入的形象描述

其结果是,我现在可以浏览到 http://www.woodswild.com 以及它解析!我得到的Azure即将推出的消息。

The result is that I can now browse to http://www.woodswild.com, and it resolves! I get the Azure "Coming Soon" message.

所以现在我的问题是:是否有可能也浏览 http://23.99.206.151 并有也解析woodswild.azurewebsites.net?如果是这样,怎么样?

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?

谢谢!

推荐答案

这是一个更容易些的 -

This is a much easier one -

没有。

由于所有的IP地址是负载在Azure的Web应用程序的前面平衡器出来,它可以提供一千个不同的网站。 Azure的滤波器,要求通过检查头去的地方。即什么在浏览器中键入。

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.

这篇关于点IP地址的Azure资源组Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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