I have an open server that's running Apache and a closed server that's also running Apache and that's behind a firewall and running a VPN.
I'm trying to forward requests from a sub domain to the closed server using the open server.
subdomain.request.com -> open server -> closest server
My understanding is that this can be achieved using Apache's mod proxy but I'm having difficulty setting it up. I'm able to request the home page but all other pages produce a DNS lookup failure
error.
vhost
<VirtualHost *:80>
ServerName subdomain.request.com
ProxyPass / http://10.0.0.54:8080
ProxyPassReverse / http://10.0.0.54:8080
ProxyPassMatch ^/(.*)$ http://10.0.0.54:8080/$1i
</VirtualHost>