Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

What does Apache server clustering actually means? As I have read : it is related to configuring Apache web server in load balancing, with high availability mode.

But I am not able to grasp the term for this situation. My first impression to this term was that, there should be more than one web servers handling a single host name. For example:- There is a website, which is resolved at,and on

Please describe me! :(



share|improve this question
If you are looking for a fast and robust clustering, have a look at nginx – ringø Sep 25 '10 at 1:03
up vote 1 down vote accepted

When you hear about web clustering, a few different technologies come to mind. The option you cite is what is typically called DNS Round-robin load balancing. With this, both IP addresses are listed as DNS A records for the domain. Some clients will resolve one IP address and some will resolve the other. This is a very simplistic way of load balancing, and can usually only work on websites that don't maintain any state about the user's session.

The preferred method of load balancing is to have two or more webservers behind one large load balancer. In this case, the website IP address resolves to the IP of the load balancer, and then the load balancer proxies the user's requests to the back-end webservers, distributing the load between all of the active nodes as necessary.

For example:- There is a website, which is resolved at,and on

Just for your information, DNS resolution has nothing to do with TCP (or UDP for that matter) port numbers. DNS will only resolve to an IP address, and then the application (web browser in this case) needs to know what port to connect to.

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.