Web DesignDiscussion
Split server web hosting


John-WoodsFeb 24, 2005 12:31pm
For security reasons I have recently been forced to implement a section of a website on an in-house server. Unfortunately we do not have enough bandwidth to host the entire site, so users are redirected from the public server to the private server by IP. This works fine, but the address is now an ip address which is hard to remember for the visitors.

Does anyone know how I can set the domain name for both servers to be the same or otherwise solve the naming issue. I hope this isn't off-topic being back-end web design.


first2blastFeb 25, 2005 4:29am
You might have better luck at webhostingtalk.com

a very helpful bunch

axxsMar 17, 2005 8:16am
You could use apache to do this.

You can do a rewrite to proxy off calls to a subfolder of the site to a different server .. this would leave the url the same in the browser for the client.

For instance to rewrite all users home directories to another server :

RewriteEngine on
RewriteRule ^/~(.+) http_:_//other.server.com/~$1 [R,L]

(of course remove the _ .. it was just so it's readable here.


John-WoodsMar 18, 2005 6:00pm
Thanks axxs.

I'll look into this properly, but from what I've read so far I just need to persuade my web hosting company to add the handling as you suggest.

Thanks again for the help guys


Split server web hosting

You need to Sign-up for StumbleUpon to post to this forum