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

RE: Pointing two addresses to Default Web Page by bbooth

bbooth
Mon Nov 03 15:02:25 CST 2003

Specifying IP addresses or Host Headers is only required if you have
multiple web sites. It sounds like you only have a single web site. What I
would do is leave your IP address on "All Unassigned" and also do not
specify a Host Header. That way no matter what you request as long as it
resolves to your IIS6 machine, the page will be returned to the browser.

Thanks,
Brian Murphy-Booth