- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] What have I forgotten, steeing up virtual Apache server
- From: John Clarke <johnc@xxxxxxxxxxxxxxxxxx>
- Date: Mon Feb 11 15:31:01 2002
- User-agent: Mutt/1.2.5.1i
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 !JC774-AU@xxxxxxxxxxxxxxx
GPG key id: 0xD59C360F