[plug] Apache ProxyRequests or RewriteEngine?

Tim White weirdit at gmail.com
Thu Sep 29 06:53:50 WST 2011


Hi Shanon.

Yes, you can proxy the entire site, however it means the server doing 
the proxing has double the bandwidth, the bandwidth from the server you 
are proxying, and the bandwidth going to the client. It also means on 
the server you are hiding, it has no idea who or what is accessing the 
resources (iirc, it'll just see the first server's ip, not the clients).

For your clients sake, the CNAME is the better option for speed, as the 
data will go the shortest path from server2 to the client, instead of 
server2 to server1 to client. The trade off is one extra (hopefully) DNS 
lookup for the initial connect, as it has to resolve the CNAME to get 
the server ip.

Glad its working for you. I actually use it myself for a few servers on 
dynamic ip addresses.

Tim

On 28/09/11 16:37, Shanon Loughton wrote:
> Thanks tim
>
> So there are two methods to hide the second server's url - the CNAME 
> in the case of a complete site, or Proxy for components of the second 
> site?  Although probably not ideal, couldnt you proxy everything from 
> the second site to the first and end up with the equivalent of that of 
> the CNAME feature?
>
> In any case, the CNAME solved my issue, thanks
>
> Shanon




More information about the plug mailing list