0

Given multiple domain bindings, how do I configure my IIS site to redirect all requests to a primary domain without creating a second site to handle only the redirect?

0

This is now a built-in IIS 7 feature:

  1. Go to URL Rewrite.
  2. Click Add Rule.
  3. Select Canonical Domain Name under Search Engine Optimization.
  4. Enter canonical domain and save.
  • If you figured it out yourself, accept your own answer, so that it doesn't figure as unanswered – Mathias R. Jessen Dec 16 '12 at 13:43
  • You can only accept your own answer in ~24 hours. – Petrus Theron Dec 17 '12 at 9:15

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.