My company currently added a new IIS server called server2 to replace server1. I would like all traffic that tries to access server1 to be redirected to server2. Is there a quick way to do this in IIS.

For instance, if a user enters

http://server1 they get http://server2 after the redirect.

Furthermore, if a user enters

http://server1/king.aspx?quest=1 they get http://server2/king.aspx?quest=1 after the redirect.

  • Which version of IIS? – squillman Jan 14 '10 at 2:24
  • The version of IIS is IIS6 – Matt Jan 14 '10 at 18:51

Yeah, ISAPI_Rewrite can do exactly what you need. There is a free version.



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.