two ip address to apache server

Ed Wilts ewilts at ewilts.org
Wed Oct 27 11:43:33 UTC 2004


On 10/27/04 00:58, Mrs. Geeta Thanu wrote:

> I like to give 2 IP address to my apache webserver.
> 
> public and private IP.I have natted this inthe firewall.
> 
> public ip  --->  private ip.
> 
> so when browsed from inside the URL formed shld be with private ip
> and
> when browsed from outside the URL formed shld be with public ip

This is a simple case of using virtual hosts.  Check the Apache web site 
for all the details you need to set this up - see the help pages for the 
VirtualHosts directive.

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program




More information about the redhat-list mailing list