Forum Moderators: phranque

Message Too Old, No Replies

How To Redirect?

redirect

         

hammer15026

10:31 pm on Aug 2, 2004 (gmt 0)

10+ Year Member



Hi, I'm really new to this.
I want to redirect from one server to another if the first sever is down or unavailable.

[SERVER1:PORT...] to [SERVER2:PORT...]

Any thoughs on this? I looked at the rewrite stuff but I don't quite understand it.

drbrain

11:18 pm on Aug 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Err, if server1 is down, it cannot redirect to server2, since it has to be up to redirect.

You can do something like DNS round-robin or use a load balancer to make sure you always have a server available.

hammer15026

2:23 pm on Aug 3, 2004 (gmt 0)

10+ Year Member



Sorry I should have been more clear.
Server0 will make the call to server1 or server2

jdMorgan

3:11 pm on Aug 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> if the first sever is down or unavailable.

How do you plan to make this determination - automatically, or manually?

What will you do if server0 fails?

Jim

hammer15026

3:24 pm on Aug 3, 2004 (gmt 0)

10+ Year Member



I'm not concerned about server0 going down.
All I want to do is on server0 call server1. If it can't make the call because server1 is down then I need it to call server2. This all needs to happen automaticly.

drbrain

3:28 pm on Aug 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It looks like you really want to have a hardware load ballancer.