Report this

What is the reason for this report?

Most efficient setup for Wordpress

Posted on June 7, 2017

I’m trying to build an efficient setup right off the bat and migrate a lot of client sites over to DO. Does anyone have a good idea of how to set up a sustainable efficient ecosystem of droplets for multiple WordPress sites where the files are on one server, database on another, etc. for “medium” sized site load? I’m assuming if I want to use a control panel and other apps I should probably use a different server for them as well right?

I know as an open ended question it could go infinitely more efficient but let’s say 1-5 sites is one droplet with everything on that server, what about 10-20 sites with ~2000 pageviews/month?



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!

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.

@tannerchung Just starting a new thread, because it was getting very narrow.

Yes, that’s a good, sustainable solution to use Block Storage - and if you follow the question thread you’ve linked to (which I also answered) - then you can always move to other solutions in the future, if that would ever be needed. Just remember that Block Storage isn’t available in every data center yet, so when you choose data center for your droplet, it has to be FRA1, NYC1, SFO2 or SGP1.

  • To start with, create a single $5 droplet.
  • After it’s created, you can resize to $10 or $20, but without resizing the storage, so you can downscale again.
  • Do not expect to be able to run WordPress on $5 - it needs minimum $10 (if you run everything on a single droplet) - and the more plugins, themes and/or multiple sites, the more expensive you need to go.
  • Do not use Apache - just run with Nginx, it’s faster and instead of two services, there would only be one.
  • When you feel you’re ready for more servers, just setup a new droplet, dump the entire database and copy it over to the new droplet (and setup logins/security), and then you just change your WordPress configuration wp-config.php to use the database on the new droplet. And finally you remove and uninstall the database from the original droplet.
  • When you need more space for media/files, then you would setup Block Storage by following the question you’ve already linked to. Just a note, I created that guide for a single WordPress site, so it need to be changed a bit to accommodate multiple sites.
  • And from there, you can expand by adding load balancer, cache, or other server types.

You can get pretty far by following this tutorial (it’s for a single server setup): https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lemp-on-ubuntu-16-04

This comment has been deleted

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.