Web Hosting Talk







View Full Version : Domain -> HTTP proxy


Gatta
05-07-2001, 01:59 AM
I have a domain and a webhost now. I want to put a non-caching HTTP proxy to work with my domain, so it looks like I'm surfing from say myproxy.phylomortis.com.

I'm on a unix host, so I can telnet into the host if I need to set it up. How would I go about doing this?

Angel78
05-07-2001, 12:00 PM
can you really do this?:eek:

Wazeh
05-07-2001, 04:03 PM
Gatta, do you have access to myproxy.phylomortis.com?
If you do, it can be done (depending on other factors which we can discuss).
If not, you are out of luck.

Gatta
05-07-2001, 06:48 PM
Yes I can create myproxy.phylomortis.com as a subdomain. What I want to do is put proxy software on my account, and have that address reference the proxy server.

Gatta
05-08-2001, 04:31 AM
?

Vince
05-08-2001, 10:31 AM
Yes it's possible.
And pretty simple to do using something like squid.
Although I don't think *any* shared hosting provider is going to let you do this on their servers.
If you have a dedicated or colocated machine, then by all means, go right ahead.
If not, I would advise you contact your hosting companies support.

Regards,
Vince.

Wazeh
05-08-2001, 06:56 PM
Gatta, I will assume you have your own machine. If you are on a shared account, I second vince's advice to talk to your customer support people before trying such things.

The easiest way to make a proxy is using mod_proxy
on apache. You can proxy any server and any port.
For example, we use mod_proxy to serve zope (port 8080) pages to appear as they were served by apache (port 80). Take a look at this document, it has details on how to make a proxy from your apache
http://www.apache.org/DELETE_ME/mod/mod_rewrite.html