Different pages when using IP vs. DNS name?

Different pages when using IP vs. DNS name?

am 30.08.2007 21:35:02 von kicksave

I've got a problem that crops up about once a week on one of my web
servers. I have two identical web servers, and for some reason it is
only happening on one of them. Every now and again when I pull up a
web page from a client machine on Web Server #1, the page is garbled
and looks oddly rendered (the web pages are automatically generated by
an engine once per minute). This is when the IP of the webserver is
used in the URL.

However, if I substitute the DNS name of the server instead of the IP
in the URL, the page comes up just fine. Go back to the IP and it's
garbled again.

All I need to do is stop and start IIS on the web server and
everything is fine again--I can use IP or DNS and the page comes up
fine.

I'm running Windows 2003 Server.

Has anyone ever seen this happen before? Any ideas what could cause
this?

Re: Different pages when using IP vs. DNS name?

am 31.08.2007 15:45:15 von Steve Schofield

1) One of the servers are misconfigured to listen on IP on one site and the
DNS name on another, potentially a host-header. Without knowing the
application, that is what I would check first.

2) Your code somehow is handling the request improperly.

Those are a couple ideas off-hand to check. There is nothing in IIS to cause
this behavior.

Thanks,

Steve Schofield
Microsoft MVP - IIS


"kicksave" wrote in message
news:1188502502.790790.223360@i38g2000prf.googlegroups.com.. .
> I've got a problem that crops up about once a week on one of my web
> servers. I have two identical web servers, and for some reason it is
> only happening on one of them. Every now and again when I pull up a
> web page from a client machine on Web Server #1, the page is garbled
> and looks oddly rendered (the web pages are automatically generated by
> an engine once per minute). This is when the IP of the webserver is
> used in the URL.
>
> However, if I substitute the DNS name of the server instead of the IP
> in the URL, the page comes up just fine. Go back to the IP and it's
> garbled again.
>
> All I need to do is stop and start IIS on the web server and
> everything is fine again--I can use IP or DNS and the page comes up
> fine.
>
> I'm running Windows 2003 Server.
>
> Has anyone ever seen this happen before? Any ideas what could cause
> this?
>