I am looking at a lot of docs and tutorials, but I am not sure yet how this exactly works. Lets say I do want to setup a:
Where Wordpress1 is a server with like 15 Wordpress websites on it.
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!
Hi there,
Would you mind giving a little bit more information on why you need a load balancer with this setup? I believe that with the setup that you’ve described, there is not really a need for a layer 4 load balancer.
You would add a load balancer to a setup where server 1 and server 2 are copies of each other so that the layer 4 load balancer would distribute the traffic between the two servers, eg:

That way, if web server 1 goes down, the load balancer would distribute the traffic to the healthy web server.
However in your case if you only have some sites on server 1 and some sites on server 2, this would still be a single point of failure.
For a quick introduction on what the benefits of a load balancer are, I could suggest the following tutorial:
Hope that this helps and let me know if you have any questions!
Best,
Bobby
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.