【问题标题】:How create subdomain in IIS on Windows 2008 Azure VM?如何在 Windows 2008 Azure VM 上的 IIS 中创建子域?
【发布时间】:2013-04-02 12:59:48
【问题描述】:

我的行为

  1. 在 IIS 中添加网站...并设置端口 81

  2. 尝试浏览http://localhost:81/ - 很好。

  3. 将端点添加到 81 端口

  4. 尝试浏览http://myserver.cloudapp.net:81/ - 不好(net::ERR_CONNECTION_TIMED_OUT)。

为什么?

UPD: myserver.cloudapp.net:80 - 默认网站可见

myserver.cloudapp.net:81 - 我的第二个网站不可见

第二个站点绑定是

类型:http;端口:81; IP 地址:*

【问题讨论】:

    标签: azure windows-server-2008-r2 azure-virtual-machine


    【解决方案1】:

    你有bound the IIS website to all addresses,不仅是本地主机,还有默认(*)host headers?最终,您可能希望将 myserver.cloudapp.net 作为主机头添加到站点绑定中。

    更新

    当然,您必须在本地 VM 防火墙设置中允许传入端口 81。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-11-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-09-29
      • 1970-01-01
      相关资源
      最近更新 更多