On Mon, Feb 11, 2002 at 03:10:17PM +1100, Dean Hamstead wrote:

> check that your webserver can resolve the hostname for that virtual 
> server to an address that is on your server

Try telnetting to port 80 on the server and asking it for a page on the
new virtual host, e.g.:

    [johnc@dropbear ~]$ telnet 203.63.21.209 80
    Trying 203.63.21.209...
    Connected to kirriwa.net (203.63.21.209).
    Escape character is '^]'.
    GET http://www.kirriwa.net/ HTTP/1.0

    HTTP/1.1 200 OK
    [snip]

(That's two new lines after the `GET').  Trying it from here doesn't
work:

> > The domain is www.axisofevil.info

    [johnc@dropbear ~]$ telnet www.axisofevil.info 80
    Trying 203.41.215.174...
    telnet: connect to address 203.41.215.174: Connection refused

You don't have apache listening on that address.  That's your first
problem.  Look for `Listen' and `BindAddress' directives in your
httpd.conf.


Cheers,

John
-- 
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to