6

My tools:

  • IIS7
  • 1 x Windows 2008 Server
  • IIS URL Rewrite Module 2 (installed)

My requirement:

  • Mask the redirection of www.bob.com to www.abc.com/bob/index.html - the end user should not see the www.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.

1

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: http://blogs.msdn.com/b/carlosag/archive/2010/04/02/setting-up-a-reverse-proxy-using-iis-url-rewrite-and-arr.aspx

You'll be reverse proxying requests for http://www.bob.com/ to http://www.abc.com/bob/

In Apache, with the correct modules loaded, it can be done as:

RewriteCond %{HTTP_HOST} ^www\.bob\.com [NC]
RewriteRule (.*) http://www.abc.com/bob$1 [P,L]
0

Have a look at the following article here. It appears to describe a very similar situation as to what you are trying to setup.

1
  • Can you expand on this answer in places so that nobody has to click through to at least get the main idea? – Stephen Ostermiller Dec 2 '13 at 12:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.