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 create a windows instance on aws ec2. its windows sever 2008 r2 with IIS 7.5 installed.

I went to IIS, add another web site there. however, my domain name still connect to the "Default Web Site", not the one I just added.

I also changed the Host file , add this line there.

still not working.

share|improve this question
up vote 1 down vote accepted

You need to add a host header to the new web site.

Also, you should remove the entry you added to the host file as it's got nothing to do with your issue.

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.