PDA

View Full Version : [ubuntu] Set up a proxy to redirect domain names


Hospadar
June 4th, 2008, 03:25 PM
I'd like to set up a proxy that will let me access some domain (let's say www.domain1.com (http://www.domain1.com)) at some other domain. (perhaps www.domain2.com/somename (http://www.domain2.com/somename)). Is there a way to set something up to do this? (maybe some configuration of mod_proxy in apache perhaps? other than one or two specific domains like this I'd like the proxy to behave as a totally normal proxy.

Also I'm curious if I can:
Set up the proxy to listen on an arbitrary port (my server is behind a home router, so forwarding port 80 to the server is inconvenient)

Set it up so that all connections between proxy and client are encrypted (tor style, but without actually using tor)

Thanks