BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: {bb} deadcat



On Sat, 2004-11-06 at 06:15, Kimberly McKinnis wrote:
> When I cannot reach deadcat.net, I have the same problem with
> deadcat.net.au. For some reason I can currently ping it, and it resolve
> to 202.147.127.20 but when trying to hit that with a browser, it tells
> me   "202.147.127.20 is currently suspended. Please call back soon."
> What the heck?

That would be known as "proper use of IPv4 address space".

Otherwise known as name based virtual hosting. ie, your browser must
support HTTP ver 1.1, and you must supply a hostname that matches one of
the names the server knows about.

eg:
telnet www.deadcat.net 80
GET / HTTP/1.0

Will give you the 'suspended' page.

telnet www.deadcat.net 80
GET / HTTP/1.1
Host: www.deadcat.net

Will give you what you expect.

When you put the IP address into your browser, your browser sends
something like:
GET / HTTP/1.1
Host: 202.147.127.20

hence the web server doesn't know which website you mean, so you get the
default suspended page.

Search google for more information/reasons on why this is a "good idea",
and why most people do things this way.

Well, for at least a few years. Late 1990s, a small (but significant)
number of people still used web browsers that didn't support http 1.1,
including win NT4 default browser, and win96 default browser. However,
last time I looked into this, I discovered that www.microsoft.com didn't
work in those browsers, nor did their default home pages. Of course,
these days, all current version OS's come with a browser which support
HTTP/1.1, and even if it didn't, the first step is to install all vendor
supplied patches, which should get you a HTTP/1.1 compliant browser.

Anyway, all this is quite off-topic, so if anyone feels the need to
continue the discussion, please email me off-list.

Regards,
Adam

-- 
 -- 
Adam Goryachev
Website Managers
Ph:  +61 2 8304 0000                        adam@websitemanagers.com.au
Fax: +61 2 9345 4396                        www.websitemanagers.com.au

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index