Load Balancer and apache virtual hosts
-
Hi,
Load balancer works fine but now we have a domain name pointing to it and a
coresponding virtual host on all apache frontends, the domain name points to the root index page of apache instead of the subfolderI cant find any setting in the load balancer that would deal with apache virtual hosts
how can I fix this ? do I have to install haproxy ?
thanks
[edit: ok it was a proble of apache config]
-
There is nothing to do in the built-in load balancer (relayd) for virtual hosts. The original client connection is forwarded in, it would still contain the host header that Apache needs to pick the right virtual host.
We need a lot more info to say for sure what might help your situation, starting with what actually isn't working, how you're testing it, and so on.