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 .
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!
Try setting this config directive: <br> <br><pre>reqirep ^Host: Host:\ yourdomainname.com</pre>
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.