Koozali.org: home of the SME Server

Redirecting domain to Local PC in server-only mode

jackez

Redirecting domain to Local PC in server-only mode
« on: April 07, 2004, 11:29:25 AM »
Hi

Behind my router I have a SME box running v.6.0 unsupported developer which is hosting 5 domains. Now I want to set-up a second SME box running v.6.01-01 Custom for testing purposes. Both servers is running in server-only mode.

The router redirects all port 80 traffic to SME box 1 on which i've created a domain test.mydomain.com which I want redirected to SME box 2 (were I also have created test.mydomain.com).

I've changed the hostname www.test.mydomain.com on SME box 1 to point to LOCAL using the ip-address of SME box 2 (I've also tried REMOTE). But when I try to access test.mydomain.com it keeps showing the ibay on SME box 1.

Isn't it possible to redirect when running in server-only mode?

If not, does anybody then know a way of doing this?

Hope there is a guru out there that can help me :-)

Jakob

jackez

I found a solution
« Reply #1 on: April 08, 2004, 11:18:20 AM »
I stumpled over a contrib called ProxyPass by loveless (i think) which solves my problem.

Jakob