I have configured few load balancers in production environment

Things you need :
2 or more servers / vps on the same subnet
Heartbeat
Pacemaker

there are many ways , Round Robin DNS , etc..etc
you have to choose the best one, depending on your needs .