I see, thanks.
I probed *:80, but in this case only the first domian come in... :s
I don't no why...
Benoit wrote:
Well your problem is in the understanding of how haproxy and/or apache
works ...
it's not like LVS where the LB machine redirect paquets using MAC
address, instead
haproxy keep the connection from the client and open a new connection to
the backend
server and basically copy/paste from the client socket to the backend
socket.
your virtualhost should be configured with the apache server ip address
or to simply
use the asterisk:
...
NameVirtualHost *:80
<VirtualHost *:80>
ServerName ...
...
</VirtualHost>
<VirtualHost *:80>
ServerName ...
...
</VirtualHost>
<VirtualHost *:80>
ServerName ...
...
</VirtualHost>