【问题标题】:How to redirect subdomain to another local ip:port with IIS?如何使用 IIS 将子域重定向到另一个本地 ip:port?
【发布时间】:2014-12-10 13:03:20
【问题描述】:

是否可以使用 IIS 将子域重定向到另一个本地 IP:PORT 地址?

使用 Apache,它看起来像这样:

<VirtualHost *:80>
ProxyPreserveHost On
ProxyPass / http://192.168.111.2:1234/
ProxyPassReverse / http://192.168.111.2:1234/
ServerName hostname.example.com
</VirtualHost>

【问题讨论】:

    标签: windows apache redirect iis port


    【解决方案1】:

    您可以使用 URL 重写扩展来执行此操作。这个 here有一篇好文章

    也可以查看这篇文章here

    祝你好运!!

    【讨论】:

    • 谢谢,第一篇文章有​​帮助。 :)
    猜你喜欢
    • 2019-03-10
    • 2013-08-04
    • 2018-07-28
    • 2019-10-25
    • 2014-03-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-06-21
    相关资源
    最近更新 更多