Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to setup a loadbalancer with 2 machines. The loadbalancer should reside on one machine and split load between itself and other machine (with a greater percentage of request hitting other machine). There is no issue of cookie and session, since every request is independent. Also I have given my client an IP address (something like ) not a domain name so I want the request coming to that IP to be load balanced. Both my machines are VPS residing on linode. How do I configure apache mod proxy balancer(if its possible that way)?

share|improve this question
up vote 0 down vote accepted

HAProxy is great, I've used this quite a bit:

Pound is another one:

I now use Zeus (With Joyent) and can't recommend it enough:

As for mod_proxy, I wouldn't recommend it. But here is a tutorial if you'd still like to pursue it:

share|improve this answer do i configure it to split load between self and another machine? – Ashwin Dec 7 '10 at 15:52
Each of those load balancers listed has documentation on that. The link I posted for mod_proxy also tells you how to do it. – Mike Dec 7 '10 at 19:53
thanks a lot :) used Haproxy... – Ashwin Dec 8 '10 at 8:16
1 more thing how do I make it run on startup? – Ashwin Dec 9 '10 at 8:01

I cannot speak for mod proxy balancer, but Linux Virtual Server will do everything you have asked for above.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.