Hi guys, I was just wondering if it was possible to host 1 website off of multiple droplets and use load balancing to pick which droplet the user connects to?
Thanks in advance, Francis
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!
Yes, it’s possible. You can use a DNS service like Amazon Route 53 that routes the user to the nearest server.
If the servers are in the same location, you can use 1 droplet as a NFS server and mount that on all servers. You can do this even if the servers are not in the same place, but can become a huge problem. <br>There’s also different ways ( like syncing files on update with some custom made scripts - lsyncd is an example ) <br>Also, the sessions between the servers have to use a memcached server <br>
Thanks for your reply, but what I meant was how can you replicate the Apache configuration on both servers to display the same website (so when you update a website it updates across all servers) ? <br> <br>Thanks again, <br>Francis
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.