
| John-Woods | Feb 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. |
|
|

| |
|
| | axxs | Mar 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-Woods | Mar 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 |
|
|
|
You need to Sign-up for StumbleUpon to post to this forum
|