[GLLUG] Have multiple domains / hosts on one server
Marshal Newrock
marshal at idealso.com
Thu May 4 16:47:22 EDT 2006
On Thursday 04 May 2006 16:29, Caleb Cushing 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.
You're looking for "name-based virtual hosts". Since HTTP includes the
domain you're requesting info from, you can assign multiple domains to the
same IP, and the web server can tell one from the other. If you're using
apache, there may be examples in the config. If not, there's examples on
the apache page.
--
Marshal Newrock
Ideal Solution, LLC - http://www.idealso.com
More information about the linux-user
mailing list