On Wed, 2003-12-03 at 15:53, Chris W. Parker wrote: > Hi there. > > In the near future I'm going to be hosting at least two websites on my > RH9 box and I'd like to get some opinions and/or examples for setting > this up. > > My idea is the following: > > 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. > > For example: > > sitea.com > 42.1.52.187 > 10.0.0.9 > rh9 box > siteb.com > 42.1.52.188 > 10.0.0.10 > rh9 box > > Apache will then know which site to serve based on the internal ip > address used to reach the server (i.e. either 10.0.0.9, or 10.0.0.10). > > For those that are experienced with this sort of situation what would > you recommend and what advice do you have for me? That will work, but so will name-based VirtualHosts on the same IP address. Apache can look into the HTTP header to determine the site you want by name. But if you ever plan on using SSL certs, you'd be best served to stick with IP-based VirtualHosts (as you've described). -- Jason Dixon, RHCE DixonGroup Consulting http://www.dixongroup.net -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list