Forward requests to cPanel server through haproxy
- Removed -
I deployed an loadbalanced infrustructure. I am using haproxy as the loadbalancer and cpanel as backend webservers. I created a test host on the cpanel, and I can see the site in browser when I configure the website in my /etc/host with the cpanel server ip address. But when I change the ip to the loadbalancer it forwards the requests to /usr/local/apache/htdocs/ and I get the default cpanel server page(defaultwebpage.cgi). What configurations should I use in haproxy to redirects requests correctly? Any help is appreciated.
-
Hello, This type of configuration is unsupported, but the following document may help if you are using a NAT environment: Built-in load balancing, replication, high availability Thank you. 0
Please sign in to leave a comment.
Comments
1 comment