QUOTE
Originally posted by email4fun
Help needed: One site two servers, how to get clients to the right server. We have two servers here at RS, one has multiple sites on it, one that is going to become super heavy with traffic again come March for April Fools day.
We have another site setup as www2.
My question is how can we basically send clients to the second server if the first one is too slow or is responding to too many clients.
IN a sort, this is like load balance, but RS can't do actual load balance, any ideas?
ok...here is the easy way (you should be running your own dns to do this)...
just add 2 A records for your domain in your dns for that domain. One A record will point to the first server's ip# ..the second A record will point to the second servers ip#. This is a built in feature of bind. Your traffic will be somewhat balanced this way.
Another option:
if your domain is domain.com
domain.com is on server1 and server2
put ns1.domain.com on server1
put ns2.domain.com on server2
A record on ns1 is ip# on server1 for domain.com
A record on ns2 is ip# on server2 for domain.com
list ns1 and ns2 in your whois for domain.com
approx half of your traffic will hit each nameserver
(yes..you can get much more complicated then this..but this should point you in the correct direction).
Hope that helps