Posted August 11, 2013 7.1k views
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 .

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.

Submit an Answer
6 answers
Try setting this config directive:

reqirep ^Host: Host:\
I have to do this config in HAproxy server ??
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 .
@dinesh_865: Take a look at this: