[H-GEN] Virtual Webhosting / IP aliasing

Craig Armour c.armour at kings.uq.edu.au
Tue Aug 17 04:29:41 EDT 1999


[ Humbug *General* list - semi-serious discussions about Humbug and
Unix-related topics. ]

> got that down? ok. try it yourself ;)
> 
> cheers,
> James C. McPherson

what james said is right, but you should read the apache virtual hosts
docs to become proficient at what's going on.

the short gist is, you only need one ip for your box

you then set a DNS entry for that one IP and set cnames for all your
other sites to that DNS entry.  Alternatively you can set multiple IN A
in your dns pointing to one IP

MX records are simple, if you have a host foo.bar  and domains dotat.org
and commadot.org then your dns files for the respective domains will
contain

	IN MX 10 foo.bar

finally sendmail needs to have the hostnames for which it accepts mail
in /etc/sendmail.cw file so foo.bar's /etc/sendmail.cw file will look
like

foo.bar
foo.dotat.org
dotat.org
foo.commadot.org
commadot.org


that's pretty much it

Hope that made sense 

Cheers
Craig
-- 
Craig Armour                    c.armour at cltr.uq.edu.au
System Administrator             Joyce Ackroyd Building
Language Lab, University of Queensland   phone 33656916
Comments are my own and not of my employer

--
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