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 have a single machine that I use to host multiple websites with virtual hosts (lighttpd webserver), I can't say I am in a professional environment as I am hosting mainly for small websites and projects.

Eventually, the resources of a single machine will not be enough to cover the requests amount and I will need to add another one to my network.

What is a common technique to route the requests to the right server? It is a really simple structure, visually imagine it like this:

  website A (vhost)
  website B (vhost)
  website C (vhost)
  website D (vhost)
  website E (vhost)
  website n (vhost)
share|improve this question

Assuming you never need to have a single site running on more than one server at a time, there's nothing stopping you from pointing the DNS entries for the sites in question at the correct server's IP address.

If you did need to have a single site running on more than one server at a time, then you'd probably want to consider either a load balancer or setting up your DNS as a Round-Robin. The former is definitely preferred - but worry about that when you need it, if you need it.

share|improve this answer
The thing is that all the servers in the network resolve to only one external address, forgot to mention that in the question. – john smith Nov 6 '12 at 14:18
@johnsmith You'll have to get more IP addresses, then. – Michael Hampton Nov 6 '12 at 14:27

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.