Re: recommended configuration for hosting multiple sites

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 03, 2003 at 12:53:58PM -0800, Chris W. Parker wrote:
> 
> I will assign two ip addresses to eth0 (10.0.0.9 and 10.0.0.10). I will
> use NAT to translate two external IP addresses to the two internal IP
> addresses.

You don't actually need to have two IP addresses to have two websites.
It is possible to use the Apache VirtualHost directive to put any
number of websites on the same IP.

> For those that are experienced with this sort of situation what would
> you recommend and what advice do you have for me?

The Apache website has some very good documentation:
http://httpd.apache.org/docs-2.0/vhosts/

If you want the server to scale (2 websites, then 4, then 8, ...), I
recommend you put the configuration relative to each website in the
file /etc/httpd/conf.d/<foo>-site.conf where <foo> is the name of the
website in question. It's easier to manage 50 small files than one
huge one.

Emmanuel


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux