Masking a redirection in IIS7
7,725
For IIS7 you will indeed need AAR. There are 3rd party modules available that can do what you need as well such as Helicon Ape: https://www.helicontech.com/ape/
Using AAR: Link
You'll be reverse proxying requests for http://www.bob.com/ to http://www.example.com/bob/
In Apache, with the correct modules loaded, it can be done as:
RewriteCond %{HTTP_HOST} ^www\.bob\.com [NC]
RewriteRule (.*) http://www.example.com/bob$1 [P,L]
Related videos on Youtube
Author by
atom
Updated on September 18, 2022Comments
-
atom almost 2 years
My tools:
- IIS7
- 1 x Windows 2008 Server
- IIS URL Rewrite Module 2 (installed)
My requirement:
- Mask the redirection of
www.bob.com
towww.abc.com/bob/index.html
- the end user should not see thewww.abc.com
- The user should then be able to browse the website as normal.
I have found references to installing AAR, however this seems to be more for load balancing etc.? Then others have said use a 3rd party tool etc.
-
Stephen Ostermiller over 10 yearsCan you expand on this answer in places so that nobody has to click through to at least get the main idea?