[NTLUG:Discuss] Virtual Hosting
David Stanaway
david at stanaway.net
Tue Feb 4 01:57:40 CST 2003
On Mon, 2003-02-03 at 21:42, jose sanchez wrote:
> --- Jack Snodgrass <jack+ntlug at mylinuxguy.net> wrote:
> > what are the 3 domains?
>
> domain1 = kcmultiservices.com
> domain2 = kcmultiservice.com
> domain3 = albertopujols.com
It is the redirection that is messing you up.
dstanawa at ciderbox:~$ host kcmultiservices.com
kcmultiservices.com A 64.202.166.10
dstanawa at ciderbox:~$ host 64.202.166.10
Name: parkweb.secureserver.net
Address: 64.202.166.10
dstanawa at ciderbox:~$ telnet 64.202.166.10 80
Trying 64.202.166.10...
Connected to 64.202.166.10.
Escape character is '^]'.
GET /foo HTTP/1.1
host: kcmultiservices.com
HTTP/1.1 302 Found
Date: Tue, 04 Feb 2003 07:54:12 GMT
Server: Apache/1.3.26 (Unix) PHP/4.2.2
Location: http://24.31.244.41/foo
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
11d
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>302 Found</TITLE>
</HEAD><BODY>
<H1>Found</H1>
The document has moved <A HREF="http://24.31.244.41/foo">here</A>.<P>
<HR>
<ADDRESS>Apache/1.3.26 Server at parkweb1.secureserver.net Port
80</ADDRESS>
</BODY></HTML>
0
Connection closed by foreign host.
Note that it redirects you to a dotted quad IP with no name information.
--
David Stanaway <david at stanaway.net>
More information about the Discuss
mailing list