By yggitteam
i have 2 droplet, 1 domain + cloudflare, 1 loadbalancer Droplet A with IP 111.111.111.111 Droplet B with IP 222.222.222.222 Loadbalancer with IP 333.333.333.333 Domain name abc.com
when i acces my domain abc.com i always get error 404, but if i point the domain to my droplet, i can access it without any error. am i missing something?
here is what i do.
Part 1 => Result in 404 (i turn off droplet B) abc.com => A 333.333.333.333 WHN in droplet A setting => current address of abc.com 111.111.111.111
Part 2 => Result in 404 (i turn off droplet B) abc.com => A 333.333.333.333 WHN in droplet A setting => current address of abc.com 333.333.333.333
Part 3 => Result in 200 OK (i turn off droplet B and ofc i didn’t use LB) abc.com => A 111.111.111.111 WHN in droplet A setting => current address of abc.com 111.111.111.111
Part 4 => Result in 404 OK (i turn off droplet B and ofc i didn’t use LB) abc.com => A 111.111.111.111 WHN in droplet A setting => current address of abc.com 333.333.333.333
i’ve tried many setting, but still don’t know what is the cause. please help, thx
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!
@yggitteam thank you for your valuable information.
So lsync for the files - are you using a cpanel / WHM plugin, or have you configured this manually?
How did you set up / use the database? Is it the managed DO database? or have you set up something else ?
but with email service, i don’t know much coz i dont use it…
I see - do you mind explaining what you use instead? Are you using external mail provider or you mean, you don’t worry about replicating email?
Hello,
Could you please share more information about the current setup? Did you configured the cPanel/WHM servers manually or using the marketplace? Are you using any replication to sync the data/files and the database as well?
Keep in mind that load balancing, replication and high availability is not natively supported on cPanel/WHM. You can also check this link on their requested features page:
https://features.cpanel.net/topic/built-in-load-balancing-replication-high-availability
A similar question was asked before in our community which you can check here:
https://www.digitalocean.com/community/questions/load-balancer-for-cpanel-whm
Regards, Alex
Hello @yggitteam
I would be very grateful to learn exactly how you make the two cPanel servers synchronise together.
Having a loadbalancer in front of a cluster of cpanel servers has been my wish for some time, but I am not sure how to sync the data / databases and / or email services that are all part of cpanel servers.
Thanks for sharing :-)
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.