[GLLUG] Have multiple domains / hosts on one server

Jason Green jave27 at gmail.com
Thu May 4 16:42:47 EDT 2006


On 5/4/06, Caleb Cushing <xenoterracide at gmail.com> wrote:
> say I wanted to host say I wanted to host foo.com, and bar.com on the same
> server but different content because they are different sites how do I do
> this? or can't I. I don't need anyone here to necessarily give me a full
> tutorial (you can if you want) just point me to what I'm looking for.

Look up "VirtualHost" for Apache.  There are quite a few ways to do
this, so make sure you read the docs to figure out the best method for
you.

You'll also like need to setup an entry in your DNS server for the new
domain as well.  If you plan on hosting mail for both addresses, too,
then each mail server package is different.  They usually call it
"Virtual Host" or "Virtual Domains", though.



More information about the linux-user mailing list