I would like to setup the following. IP address 192.168.100.100 server to be available from internal network. IP address 192.168.200.100 server to be available from external network. They point to the same website /var/www/web1/web How to get this done? Any tips?
Our intranet website is in folder /var/www/web1/web We want the site to be available from inside the network on ip address 192.168.100.100 (to edit the site via WebDAV, already working and setup) People that use http://intranet.oursite.nl will be redirected to the same website but than on ip address 192.168.200.100 (added to DMZ in the router)
Do you understand you correctly that you want 192.168.100.100 and 192.168.200.100 to listen to http://intranet.oursite.nl? Or do you want 192.168.100.100 on another vhost? And both of them should use /var/www/web1/web as doc-root??
Not exactly. 192.168.200.100 needs to listen to intranet.oursite.nl 192.168.100.100 is only used from inside the network to edit the files that are in /var/www/web1/web