I want to host a web site just for testing/learning exercises and have the
incoming host name point to my Default Web Site. Also I want localhost to
point to the same folder. I am running TZO Dynamic DNS in order to assign a
port number different from 80 to the host name. My PC is connected through a
Linksys router to the internet. I am running IIS6.
I found a web site that tells how to put two different IP addresses on the
same web site.
http://www.iisanswers.com/Top10FAQ/t10-hostheaders.htm
It suggests adding the sites to the Advanced menu and to be careful to
specify the host name correctly but I cannot make it work for the two
addresses.
I can make either host work but not both at the same time. For example,
http://localhost/hello/rolldie.aspx works when I set up port 80 and
127.0.0.1 on the property sheet for the Default Web Site then I have to
change the property sheet to port 9000 and 192.168.1.3 to make this one
work:
http://www.mywebsitename.com/hello/rolldie.aspx