[英]How to redirect a binding in IIS 7.5 (Windows 2008 R2)?
I have a "Default Web Site" with different apps under it... I have setup a HOST (A) record for a DNS name "support.mydomain.com" which points to the IIS server. 我有一个带有不同应用程序的“默认网站” ...我已经为指向IIS服务器的DNS名称“ support.mydomain.com”设置了主机(A)记录。
In the IIS bindings, i have configured the new HOST (A) record binding, what I would like to do is redirect any requests going to support.mydomain.com to a folder under my "Default Web Site" wwwroot. 在IIS绑定中,我已经配置了新的HOST(A)记录绑定,我想要做的是将所有将support.mydomain.com的请求重定向到“默认网站” wwwroot下的文件夹。
As shown in the pictures, I'd like to redirect anything going to support.mydomain.com to the Default Web Site > App > SI folder. 如图所示,我想将所有将support.mydomain.com重定向到默认网站> App> SI文件夹。
Right now, it shows the standard IIS7 "welcome" page which is at the root (Default Web Site). 现在,它显示了位于根目录(默认网站)上的标准IIS7“欢迎”页面。
Any ideas? 有任何想法吗?
Thank you. 谢谢。
You will need to use IIS URL Rewrite module for this. 为此,您将需要使用IIS URL重写模块。 http://www.iis.net/learn/extensions/url-rewrite-module/using-the-url-rewrite-module http://www.iis.net/learn/extensions/url-rewrite-module/using-the-url-rewrite-module
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.