IIS7 - Host header / Default Document problems
Posted on 2008-11-06
I have a website that is housed in inetpub\wwwroot\mysite.
I have 2 sites listed in IIS7, each accessing the files in mysite, just each a bit differently.
mysite1 has a hostheader of mysite1.myorg.com, the Physical Path is C:\inetpub\wwwroot and a default document of logon.asp
mysite2 has a hostheader of mysite2.myorg.com and the Physical Path is C:\inetpub\wwwroot\mysite and a default document of logon2.asp
I have added local DNS entrys so both point to the proper IP.
When I go to mysite1.myorg.com/mysite I am taken to the logon page for mysite2.myorg.com.
I can go to mysite1.myorg.com/mysite/logon.asp and logon fine, but cant figure out why, even with host headers and a default document defined, that mysite1.myorg.com/mysite wont take me to the proper logon page.