Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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.