Reverse proxy - how should it be done?

Posted by Thomas M. on Server Fault See other posts from Server Fault or by Thomas M.
Published on 2012-11-22T21:51:33Z Indexed on 2012/11/22 23:00 UTC
Read the original article Hit count: 143

Filed under:
|

I have a currently running server with Apache that is working great!

However, I want to buy a VPS and use that as a proxy between the user and the "old" server.

So the new server's only job is actually to just forward the traffic from the VPS to the old Apache server.

How can I achieve this the best way? I've read something about nginx proxy, but don't know if that's what I should use?

The IDEAL way (for me) would be to now even touch the running server. I just want to setup the VPS as proxy, forward the DNS to the proxy instead, and let the proxy take over the connection to the primary server. Is that possible?

I would really like to hear your opinions about this, and how you would do this (would be happy if you could link me to some tutorial)! :) The VPS is running CentOS and the running/primary is running Debian.

Thanks in advance.

© Server Fault or respective owner

Related posts about centos

Related posts about reverse-proxy