Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I have 2 websites. The old one,, and the new one,
However the DNS seems to have different bindings. loads a completely different site to

When a user types in either or I want the DNS to resolve and redirect the user to the new site (

How can this be done? I am using IIS 7 on Windows Server 2008 R2.

I hope this makes sense.

share|improve this question

There are two steps to solve this.

Step 1: Reconfigure DNS
Your DNS will need to have two A records. One for and a second one for Since you want them going to the same spot, these two records need to have the same IP address. It sounds like they currently don't. This needs to be fixed, either with your hosting service, or with whomever is hosting the DNS for your domain.

Step 2: Configure redirection
This is an IIS setting, and there are a couple of ways of accomplishing this. One way is to use a name-based bind for and put an app there that all it does is do an HTTP redirect for the equivalent URL at IIS also has a 'rewrite' module which can do much the same thing.

share|improve this answer

You change it by reconfiguring the DNS to point to the same IP.

share|improve this answer

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.