Running 2 website off 1 IP address

Aaron Vegh aaronvegh-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Thu Sep 7 19:33:48 UTC 2006


Definitely. It's done in Apache using a technique called virtual hosting.

Essentially, apache listens on an IP address and port (80), and then
you supply the hostnames that it watches for. Each vhost record
contains the directory info etc.

Docs for 1.3: http://httpd.apache.org/docs/1.3/vhosts/

Docs for 2: http://httpd.apache.org/docs/2.0/vhosts/mass.html

Cheers,
Aaron.

On 9/7/06, Jason Carson <jay-ttDcVxANFaNM656bX5wj8A at public.gmane.org> wrote:
> Greetings,
>
> Is it possible to run 2 websites off 1 IP address, If so is there a faq
> somewhere that can show me how to do it?
>
> Thanks
>
> --
> The Toronto Linux Users Group.      Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wini/Mailing_lists
>
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wini/Mailing_lists





More information about the Legacy mailing list