0

How do I 301 direct all traffic from domain1.com to domain2.com using IIS?

Also I need domain1.com/page.aspx?params to direct to domain2.com/page.aspx?params.

ThatGraemeGuy
  • 15,473
  • 12
  • 53
  • 79
Niels Bosma
  • 243
  • 1
  • 4
  • 15

1 Answers1

2

In IIS 6, right-click on the web site defined as domain1.com. Choose Properties. Go to the "Home Directory" tab. One of the choices is "A redirection to a URL". Choose that, and enter http://domain2.com. For a 301 redirect, check the box marked "Permanent Redirection".

Ben Doom
  • 684
  • 3
  • 6