Hi.

How can I have a web site listen only for the IP address? If I use
the IP address as the Host Header it responds to any host Header.

Example

Site 1

IP Address Port HostHeader
192.168.1.10 80 mydomain.com
192.168.1.10 80 www.mydomain.com

Site 2

IP Address Port HostHeader
192.168.1.10 80 192.168.1.10




The I open up %systemroot%\system32\drivers\etc\hosts and add

192.168.1.10 someotherdomain.com

I open up my web browser and type in http://someotherdomain.com and
site 2 answers? Why? It should repond to the host header of
192.168.1.10 (http://192.168.1.10) not http://someotherdomain.com.

Is this a bug or the default behavior of IIS? How can I make the web
site respond only to http://192.168.1.10?