Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

2 servers, subdomain mod rewrite question



5:09 pm on Apr 25, 2006 (gmt 0)

10+ Year Member


I have some problems setting mod rewrite for my server.

Currently I have 'subdomain.domain.com/'.This subdomain is another server that host all the files.

What I want is that all files on subdomain server would look like this:

Currently I am using a simple redirect:
'Redirect /subdomain/files [subdomain.domain.com...]

it is working ok, but the problem is I had to add another server that hosts the files and I want the link structure exactly the same.

Kind Regards


12:01 am on Apr 26, 2006 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

I think you'd be happier if you set up the main domain as a proxy for the two subdomains. See Apache mod_proxy [httpd.apache.org].



11:10 am on Apr 27, 2006 (gmt 0)

10+ Year Member


Do you know for any tutorials about this?


1:42 pm on Apr 27, 2006 (gmt 0)

10+ Year Member

I just figured out that proxy wont help because it will also increase bandwoth on the first server. The addition of the second server is to decrease the bw.

How do other big sites handle big traffic?


Featured Threads

Hot Threads This Week

Hot Threads This Month