SupermanInNY
Verified User
- Joined
- Sep 28, 2004
- Messages
- 428
[RESOLVED] - see below
Hi All,
I have a server that has a website that with a regular setting of apache, DNS etc.
My client now needs to have a new setting in the server:
On a different interface (NIC) we are running IPVPN solution. The NIC has an internal, IP (not true public) 10.255.255.1.
I need users who will use the IPVPN (intranet) to see the same site as the public IP one.
I need some suggestions on how to config the apache.conf (1.3.41) such that the same site will be available for users who surf using the public IP and for users who surf via the private network.
route add -net 10.255.255.0 netmask 255.255.255.0 gw 10.255.255.2
make sure you REMOVE gateway value from the interface of the IPVPN - in setup just don't have a value there, otherwise, big problem.
You can include the 'route add...' in /etc/rc.local so that it will remain after you reboot.
How do I set Apache to answer on two separate IPs for the same website.
Thanks for any help on this.
-Alon.
Hi All,
I have a server that has a website that with a regular setting of apache, DNS etc.
My client now needs to have a new setting in the server:
On a different interface (NIC) we are running IPVPN solution. The NIC has an internal, IP (not true public) 10.255.255.1.
I need users who will use the IPVPN (intranet) to see the same site as the public IP one.
I need some suggestions on how to config the apache.conf (1.3.41) such that the same site will be available for users who surf using the public IP and for users who surf via the private network.
route add -net 10.255.255.0 netmask 255.255.255.0 gw 10.255.255.2
make sure you REMOVE gateway value from the interface of the IPVPN - in setup just don't have a value there, otherwise, big problem.
You can include the 'route add...' in /etc/rc.local so that it will remain after you reboot.
How do I set Apache to answer on two separate IPs for the same website.
Thanks for any help on this.
-Alon.
Last edited: