Forum Moderators: phranque
I am new to this forum as well as new to web servers. It wil be very kind of you all if you help me solve my problem.
Kindly consider following scenario:
I have a local web server say X, other machines on the intra net can access the local server easily.
Now there is other server say server Y, which only server X can access (remote access through VPN).
I have to modify the local server X such that whenever a request is made for Server X, the request is automatically routed to server Y.
Main issue here is that
1. Both the servers, Server X and Server Y are on different networks (say different domains)
2. The machines on intra net of server X, off course cannot access server Y.
What change do I have to do to make server X forward the request to server Y internally.
I have gone though mod_rewrite, virtual hosts and mod_proxy details but could not decide which one will suitable for me..
Thanks in Advance.