I have a Windows 2003 servier running IIS 6.0. I've created two web sites on this server say EXTERNAL.ORG and INTERNAL.NET. Both share the same IP port 80 but have different Host Header Values. The latter site (internal.neh) seems to work fine. The site (external.org) behaves as follows. Unless I specify the full path name for each href /link it defaults to the Internal.net site alias. For example in ASP or HTM if I have to reference something I have to use the full path like <img src="http://external.org/images/communityheader.gif" mce_src="http://external.org/images/communityheader.gif"... If I use <img src="images/communityheader.gif" mce_src="images/communityheader.gif"... expecting it to start from the root, silly me, then it comes up with a 404 file not found. In some ASP code I see it sub http://internal.net/ for the root for that site. It's like (external.org) pages doesn't know their host header value or it is accepting the internal.net host header and not it's own. I'm quite sure it has something to do with IIS6 and it's configuration / security because on my old server IIS V5 works fine with Host Headers.
Any suggestions on what I might have missed?
Found most, if not all the answers: For the rest who get caught on this...
I believe it was the DNS. The web server in question only had some of the host entries set correctly. So far all the testing is looking GOOD with the original code. Oh the other BIG thing was to get every darn occurance of <base href="http://www.internal.neh"> out of ALL the code. Thanks for those Greg