Question

HAproxy

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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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