Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Reverse proxy to external domain



Threaded Mode | Print  

 Reverse proxy to external domain (4 Replies, Read 14424 times)
frewty
Group: Member
Post Group: Newbie
Posts: 26
Status:
Hi,

I have edited the apache file for vhost but the reverse proxy does not work.

Can you please help?

I want to proxy an external domain via my domain name.

For example

domain1.mydomain.com  actually is a proxy for website google
domain2.mydomain.com actually is a proxy for bing

etc..

Can you please tell me how I can do this?
IP: --   

Reverse proxy to external domain
optsoft
Group: Member
Post Group: Newbie
Posts: 38
Status:
Interesting question.

If you want your sub1.yourdomain.com to point to www.google.com,
then one way that I know of doing this is using CNAME records.

This is how CDNs work. For example:
http://www.rackspace.com/blog/its-here-cloud-files-now-supports-cnames-for-cdn-enabled-content/
http://www.cyberciti.biz/tips/wordpress-cdn-content-delivery-network-configuration.html
https://www.google.co.in/search?q=cdn+cname+mapping

In short,
CNAME sub1.yourdomain.com - > google.com

However, whether this is legal, and/or whether it will work in the global DNS system is what I don't know.

What is generally done is a permanent 301 redirect to the target domain.
That always works.

Also, I am curious why you want to do this, as I have not seen this kind of domain mapping commonly.

Or maybe I completely misunderstood your question and you want to do some actual "reverse proxying" caching or something like that...

/optsoft
IP: --   

Reverse proxy to external domain
frewty
Group: Member
Post Group: Newbie
Posts: 26
Status:
Hi,

Basically I need to server to be the reverse proxy so that sends all the requests.

This is so I can setup sub domains for websites which are blocked in my country.

I already have this working with the common vps control panel "webmin/virtualmin" they already include this feature in.

But I really like webuzo and would like to see this feature in it.

This way of doing it is a faster and safer way to proxy a website.


Thanks,
Anthony
IP: --   

Reverse proxy to external domain
optsoft
Group: Member
Post Group: Newbie
Posts: 38
Status:
Hmmm, so you want actual proxy server functionality like anonymouse.org.
Ok, got it.
Well, I didn't find anything like this built-in, but if you have done this before, then you probably know about various proxy mods for Apache - http://www.apachetutor.org/admin/reverseproxies

I guess you would have to install / configure them manually.

On a related note, I too found that it would be useful to have a UI and build-system for selecting modules for and rebuilding Apache. However I think that is a significantly complicated bit of software.
IP: --   

Reverse proxy to external domain
frewty
Group: Member
Post Group: Newbie
Posts: 26
Status:
Ill load the modules to see of this is the issue of why it won't work.

Thanks for you're help.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 28, 2024, 12:24 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.027