IIS Server - website will display using domain name but not by IP address

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > February 2004 > website will display using domain name but not by IP address





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author website will display using domain name but not by IP address
Saunak Basu

2004-02-16, 7:35 am

Need help with this problem...

1. Go to http://www.teledec.com (website comes up without
any problem)

2. Do a ping www.teledec.com
(you will get this:
Reply from 209.242.27.194: bytes=32 time=20ms TTL=124...)

3. Go to http://209.242.27.194 (you get a 404-Page not
found error.

Can anybody tell me what is going on here????

How can the website come up by it's FQDN, but not by it's
IP address. This is the ONLY website running on this IP
address, although the server has 10+ websites running on 6
IP addresses off 1 network card.

Things were fine for a long time. Something broke last
month that caused this situation. Can't find anything in
IIS/Win2k configuration that could have been changed.

Server: Windows 2000 Server / IIS 5.0 (fully patched)

Any help would be very appreciated.

Regards,

Saunak
Jonathan Maltz [MS-MVP]

2004-02-16, 7:35 am

Hi,

The IP address returns this:
No web site is configured at this address.

Which means that the website is configured by host header AND IP address, in
order to make it answer to the IP address as well, you can either add the IP
as a host header, or remove host headers all together

--
--Jonathan Maltz [Microsoft MVP - Windows Server]
http://www.visualwin.com - A Windows Server 2003 visual, step-by-step
tutorial site :-)
http://vpc.visualwin.com - Does <insert OS name> work on VPC 2004? Find out
here
Only reply by newsgroup. I do not do technical support via email. Any
emails I have not authorized are deleted before I see them.


"Saunak Basu" <anonymous@discussions.microsoft.com> wrote in message
news:1187101c3f4c9$1325bcf0$a501280a@phx
.gbl...
> Need help with this problem...
>
> 1. Go to http://www.teledec.com (website comes up without
> any problem)
>
> 2. Do a ping www.teledec.com
> (you will get this:
> Reply from 209.242.27.194: bytes=32 time=20ms TTL=124...)
>
> 3. Go to http://209.242.27.194 (you get a 404-Page not
> found error.
>
> Can anybody tell me what is going on here????
>
> How can the website come up by it's FQDN, but not by it's
> IP address. This is the ONLY website running on this IP
> address, although the server has 10+ websites running on 6
> IP addresses off 1 network card.
>
> Things were fine for a long time. Something broke last
> month that caused this situation. Can't find anything in
> IIS/Win2k configuration that could have been changed.
>
> Server: Windows 2000 Server / IIS 5.0 (fully patched)
>
> Any help would be very appreciated.
>
> Regards,
>
> Saunak



Kristofer Gafvert

2004-02-16, 7:35 am

I'm not getting a 404-Page not found.

I get "No web site is configured at this address."

which means that...hmm...no website is configured at that address. So, you
must be using host headers, and IIS doesn't know what website is responsible
for the IP.

--
Regards,
Kristofer Gafvert - IIS MVP
Reply to newsgroup only. Remove NEWS if you must reply by email, but please
do not.
www.ilopia.com - FAQ and Tutorials for Windows Server 2003


"Saunak Basu" <anonymous@discussions.microsoft.com> wrote in message
news:1187101c3f4c9$1325bcf0$a501280a@phx
.gbl...
> Need help with this problem...
>
> 1. Go to http://www.teledec.com (website comes up without
> any problem)
>
> 2. Do a ping www.teledec.com
> (you will get this:
> Reply from 209.242.27.194: bytes=32 time=20ms TTL=124...)
>
> 3. Go to http://209.242.27.194 (you get a 404-Page not
> found error.
>
> Can anybody tell me what is going on here????
>
> How can the website come up by it's FQDN, but not by it's
> IP address. This is the ONLY website running on this IP
> address, although the server has 10+ websites running on 6
> IP addresses off 1 network card.
>
> Things were fine for a long time. Something broke last
> month that caused this situation. Can't find anything in
> IIS/Win2k configuration that could have been changed.
>
> Server: Windows 2000 Server / IIS 5.0 (fully patched)
>
> Any help would be very appreciated.
>
> Regards,
>
> Saunak



Kristofer Gafvert

2004-02-16, 7:35 am

Hello,

Sorry for my other reply, wasn't really helpful for solving the problem. I
found a KB Article that might help you with this:

"Error Message: "No Web Site Is Configured At This Address" When Using Host
Headers"
http://support.microsoft.com/?id=300238

--
Regards,
Kristofer Gafvert - IIS MVP
Reply to newsgroup only. Remove NEWS if you must reply by email, but please
do not.
www.ilopia.com - FAQ and Tutorials for Windows Server 2003


"Saunak Basu" <anonymous@discussions.microsoft.com> wrote in message
news:1187101c3f4c9$1325bcf0$a501280a@phx
.gbl...
> Need help with this problem...
>
> 1. Go to http://www.teledec.com (website comes up without
> any problem)
>
> 2. Do a ping www.teledec.com
> (you will get this:
> Reply from 209.242.27.194: bytes=32 time=20ms TTL=124...)
>
> 3. Go to http://209.242.27.194 (you get a 404-Page not
> found error.
>
> Can anybody tell me what is going on here????
>
> How can the website come up by it's FQDN, but not by it's
> IP address. This is the ONLY website running on this IP
> address, although the server has 10+ websites running on 6
> IP addresses off 1 network card.
>
> Things were fine for a long time. Something broke last
> month that caused this situation. Can't find anything in
> IIS/Win2k configuration that could have been changed.
>
> Server: Windows 2000 Server / IIS 5.0 (fully patched)
>
> Any help would be very appreciated.
>
> Regards,
>
> Saunak



Kristofer Gafvert

2004-02-16, 7:35 am

And the reason why I'm not getting a 404-Page not found, is because i have
disabled "Show friendly HTTP Error messages". Please, always when you have a
problem with IIS, do this. It will give you much more information. To do
this:

In Internet Explorer, click Tools->Internet Options
Click on the Advanced tab
Remove the check box infront of "Show Friendly HTTP error messages"


When will i learn to write a complete post before sending?!

--
Regards,
Kristofer Gafvert - IIS MVP
Reply to newsgroup only. Remove NEWS if you must reply by email, but please
do not.
www.ilopia.com - FAQ and Tutorials for Windows Server 2003


"Kristofer Gafvert" <kgafvert@NEWSilopia.com> wrote in message
news:u9YLF9M9DHA.2404@TK2MSFTNGP11.phx.gbl...
> Hello,
>
> Sorry for my other reply, wasn't really helpful for solving the problem. I
> found a KB Article that might help you with this:
>
> "Error Message: "No Web Site Is Configured At This Address" When Using

Host
> Headers"
> http://support.microsoft.com/?id=300238
>
> --
> Regards,
> Kristofer Gafvert - IIS MVP
> Reply to newsgroup only. Remove NEWS if you must reply by email, but

please
> do not.
> www.ilopia.com - FAQ and Tutorials for Windows Server 2003
>
>
> "Saunak Basu" <anonymous@discussions.microsoft.com> wrote in message
> news:1187101c3f4c9$1325bcf0$a501280a@phx
.gbl...
>
>



2004-02-16, 10:35 am

Thank you very much for the reply.

Once I inserted the IP address as a host header, the
website came up when queried by IP address.

One thing though - I am not sure that the site will come
up by IP address if I remove ALL the host headers...

>-----Original Message-----
>Hi,
>
>The IP address returns this:
>No web site is configured at this address.
>
>Which means that the website is configured by host header

AND IP address, in
>order to make it answer to the IP address as well, you

can either add the IP
>as a host header, or remove host headers all together
>
>--
>--Jonathan Maltz [Microsoft MVP - Windows Server]
>http://www.visualwin.com - A Windows Server 2003 visual,

step-by-step
>tutorial site :-)
>http://vpc.visualwin.com - Does <insert OS name> work on

VPC 2004? Find out
>here
>Only reply by newsgroup. I do not do technical support

via email. Any
>emails I have not authorized are deleted before I see

them.
>
>
>"Saunak Basu" <anonymous@discussions.microsoft.com> wrote

in message
> news:1187101c3f4c9$1325bcf0$a501280a@phx
.gbl...
without[color=blue]
TTL=124...)[color=blue]
it's[color=blue]
on 6[color=blue]
>
>
>.
>

Jonathan Maltz [MS-MVP]

2004-02-16, 11:34 am

It will, as long as it is the only site configured for that IP

--
--Jonathan Maltz [Microsoft MVP - Windows Server]
http://www.visualwin.com - A Windows Server 2003 visual, step-by-step
tutorial site :-)
http://vpc.visualwin.com - Does <insert OS name> work on VPC 2004? Find out
here
Only reply by newsgroup. I do not do technical support via email. Any
emails I have not authorized are deleted before I see them.


<anonymous@discussions.microsoft.com> wrote in message
news:10b9901c3f4e5$1fbf1350$a101280a@phx
.gbl...[color=blue]
> Thank you very much for the reply.
>
> Once I inserted the IP address as a host header, the
> website came up when queried by IP address.
>
> One thing though - I am not sure that the site will come
> up by IP address if I remove ALL the host headers...
>
> AND IP address, in
> can either add the IP
> step-by-step
> VPC 2004? Find out
> via email. Any
> them.
> in message
> without
> TTL=124...)
> it's
> on 6


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com