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 two servers (linux with apache 2). I have a load balancer cisco ace which redirect all requests on server 1 or server 2.

I need 2 websites:


In both server, I added virtualhost in httpd.conf but It doesn't work.

Special configuration in loadbalancer? Special configuration in apache?

Pour récapituler: -> load balancer -> server 1 or 2 -> virutalhost website for sites1 -> load balancer -> server 1 or 2 -> virutalhost site ndd2

share|improve this question
not sure if this is what you are after, see if my question here regaring to vhosts helps – tombull89 May 3 '11 at 8:30
up vote 1 down vote accepted

Try to log the requests coming from your load balancer (is layer 4 or layer 7 load balancing?); especially log the HTTP_HOST header and see if the host are set.

share|improve this answer
Thanks a lot. I discover that I have virtual bay (LB + server 1 + server 2) and I used bad address. – Epharion May 3 '11 at 10:03

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.