P
phazei
Guest
We have a few servers, and we want another server to be able to access our plesk server through an internal IP address rather than the external, so the virtual host needs to listen on two ports.
Now normally I'd simple go:
<VirtualHost 216.xxx.xxx.123:80 192.xxx.xxx.123:80>
In the site.com/conf/httpd.include file... but I'm not supposed to modify that or it will be rewritten when plesk reconfigures.
So how can I add a second IP to the virtual host that is already defined?
I was thinking maybe something like this:
<VirtualHost 192.xxx.xxx.123:80>
ProxyPreserveHost On
ProxyPass / http://site.com/
ProxyPassReverse / http://site.com/
ServerName site.com
</VirtualHost>
But really I don't even know if that's right at all.
Help?
Thanks
Now normally I'd simple go:
<VirtualHost 216.xxx.xxx.123:80 192.xxx.xxx.123:80>
In the site.com/conf/httpd.include file... but I'm not supposed to modify that or it will be rewritten when plesk reconfigures.
So how can I add a second IP to the virtual host that is already defined?
I was thinking maybe something like this:
<VirtualHost 192.xxx.xxx.123:80>
ProxyPreserveHost On
ProxyPass / http://site.com/
ProxyPassReverse / http://site.com/
ServerName site.com
</VirtualHost>
But really I don't even know if that's right at all.
Help?
Thanks