• Posted August 11, 2013

Hi,This is dinesh My traffic has been increasing gradually for my site , so i planned to do load balance, so i deployed droplet for new webserver & also deploy new droplet,installed Haproxy . so i got three droplet one for Loadbalance & two for webserver . even i successfully configured HAproxy,but here the problem is, i had installed WHM& cpanel for both websevers. In HAProxy configuration , have to denote both webserver IP .when we hit the IP directly it taking to cgi-sys/defaultwebpage.cgi page Instead of pointing domain name. so kindly help me to Point the IP to domain name when we hit IP directly .


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

i couldn’t config Haproxy . so i need example config details for me . Kindly help out . I took for haproxy . i want to distribute traffic to these domain name & . so kindly help me out .

I have to do this config in HAproxy server ??

Try setting this config directive: <br> <br><pre>reqirep ^Host: Host:\</pre>