Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

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.
share|improve this answer
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. –  pate Dec 17 '12 at 9:15
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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