Forum Moderators: phranque

Message Too Old, No Replies

Mirror/redirect folder on remote server

         

bpnbpn

6:55 pm on Dec 19, 2006 (gmt 0)

10+ Year Member



Hi all,

I sure hope you can help me out here. I have been searching alot for solutions to my problem, but can't figure out what is best (and possible). I have read about alias, symlinks, mod_rewrite, etc. But I am not sure which way to go.

I have domain1.com on an expensive server with cgi, good coonections, etc. On that site I am hosting some large media files.

So I have bought domain2.com where the BW is cheap but does not have cgi, etc.

My plan is that, if I go to:
domain1.com/folder
It's actually showing the content of:
domain2.com/folder

But, the browser should still show domain1.com/folder, so the visitors never know there's a domain2.com in all this.

Can you please tell me how I best accomplish this?

Thanks,
Costads

jdMorgan

7:11 pm on Dec 19, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You need a reverse proxy on domain1.

See the Apache mod_proxy documentation.

Jim

bpnbpn

8:40 pm on Dec 19, 2006 (gmt 0)

10+ Year Member



Thanks so much..
I just solved my problem with that module :)