[H-GEN] Virtual Webhosting / IP aliasing
Willie Yeo
w.yeo at qut.edu.au
Thu Aug 19 18:55:09 EDT 1999
[ Humbug *General* list - semi-serious discussions about Humbug and
Unix-related topics. ]
On Tue, 17 Aug 1999, James C. McPherson wrote:
> You'll need cnames too - who's your friendly DNS admin?
I am. The same machine is the primary DNS server, my secondary DNS
server mirrors (or slave) the primary DNS.
I inserted the domains into it, all pointing at the same IP
address on the machine.
When I did an nslookup, it is pointing to the correct IP address.
> For apache, use something similar to this:
>
> NameVirtualHost 137.111.176.200
> <VirtualHost 137.111.176.200>
> ServerName chef.proteome.org.au
> ServerAdmin webmaster at chef.proteome.org.au
> DocumentRoot /usr/local/httpd/htdocs
> ErrorLog logs/chef-errors
> </VirtualHost>
> got that down? ok. try it yourself ;)
I tried. But I got the Virtual Host all the time. And if I point
any other virtual host, it all gets the first virtual host, not even the
master host, which is the default apache server.
Something is amiss, I would have to find some guys at the Sat's
humbug meeting to tell me what I went wrong !
--
This is list (humbug) general handled by majordomo at lists.humbug.org.au .
Postings only from subscribed addresses of lists general or general-post.
More information about the General
mailing list