IIS and multiple domains

I have 2 domains that have the same dns servers.
Only 1 web site is setup in IIS, however both domain names will display the web site.

How can I prevent one of the web sites from not working? I do not want the domain to server any pages.
LVL 8
JRockFLAsked:
Who is Participating?
 
becraigConnect With a Mentor Commented:
what version of IIS are you using ?

See below on using host headers, this will ensure you serve a site based on host name.
http://technet.microsoft.com/en-us/library/cc753195%28v=ws.10%29.aspx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.