I have an Win2k3 box running IIS 6 with PHP ISAPI installed.

It runs two sites.

Default site listens to port 80 on all unassigned addresses.
Site 2 listens on 80 to the specific IP address.

When visting site 2, it will display the default index page the first &
second time, but sometimes - and this is intermittent - the index page
of the default website is presented.

Does anyone have any suggestions as to what is causing this problem? I
don't think it is the PHP ISAPI, and the settings in the IIS config are
as specific as I can make.

Are there any other settings that should be properly set to rectify
this? Is there a caching issue on the server, that is ignoring the Host
Header?

Thanks for any suggestions.

John

Re: IIS Host Header not Working by Bernard

Bernard
Thu Nov 23 21:58:44 CST 2006

Well, host header value correctly defined for both site?
I mean does the default website also has host header configured?


--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


"John Ellingsworth" <jellings@mail.med.upenn.edu> wrote in message
news:ek4i9p$dhvp$1@netnews.upenn.edu...
>I have an Win2k3 box running IIS 6 with PHP ISAPI installed.
>
> It runs two sites.
>
> Default site listens to port 80 on all unassigned addresses.
> Site 2 listens on 80 to the specific IP address.
>
> When visting site 2, it will display the default index page the first &
> second time, but sometimes - and this is intermittent - the index page of
> the default website is presented.
>
> Does anyone have any suggestions as to what is causing this problem? I
> don't think it is the PHP ISAPI, and the settings in the IIS config are as
> specific as I can make.
>
> Are there any other settings that should be properly set to rectify this?
> Is there a caching issue on the server, that is ignoring the Host Header?
>
> Thanks for any suggestions.
>
> John



Re: IIS Host Header not Working by John

John
Fri Nov 24 09:12:21 CST 2006

Bernard Cheah [MVP] wrote:
> Well, host header value correctly defined for both site?
> I mean does the default website also has host header configured?
>
>

Bernard

Yes, the host header has been set for both of them.

Re: IIS Host Header not Working by Bernard

Bernard
Fri Nov 24 22:38:28 CST 2006

Interesting. got the urls you sent me.
It seems wrong site was display afer a few refresh.

Can you list down the binding detail ?
e.g.
10.1.1.1 abc.com for site 1 ?
etc

any special isapi handling the site response?

this is pretty interesting.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


"John Ellingsworth" <jellings@mail.med.upenn.edu> wrote in message
news:ek72an$e3iq$1@netnews.upenn.edu...
> Bernard Cheah [MVP] wrote:
>> Well, host header value correctly defined for both site?
>> I mean does the default website also has host header configured?
>>
>>
>
> Bernard
>
> Yes, the host header has been set for both of them.