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.

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. 23.21.186.205 www.smartmoki.com

still not working.

share|improve this question

1 Answer 1

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

 
discard

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.