Using IIS URL Rewrite, how to rewrite foo.bar.com -> bar.com/myapp

Posted by Igor K on Server Fault See other posts from Server Fault or by Igor K
Published on 2010-05-19T16:26:33Z Indexed on 2010/05/19 16:32 UTC
Read the original article Hit count: 562

Filed under:
|

Our web app lies at bar.com/myapp

We'll use the HTTP Host Header to work out the username

So need to transparently rewrite http://foo.bar.com to http://bar.com/myapp using the URL Rewrite module in IIS

But still need to be able to go to www.bar.com and see the company website and webmail.bar.com, etc.

© Server Fault or respective owner

Related posts about url-rewriting

Related posts about iis