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.
wp-config.php
to use the database on the new droplet. And finally you remove and uninstall the database from the original droplet.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
@tannerchung
Sorry, forgot about the
.htaccess
and CloudFlare.I’ve only seen a couple of plugins, which requires
.htaccess
(or manual changes to configuration). Most of the plugins lists the exact configuration changes needed for Nginx in the documentation or on their website. If not, just tell me which plugins you’re having problems with.CloudFlare can never fully replace Nginx cache or Varnish, since they do something you control and can make very specific to your needs. But if you just use simple full page cache, then CloudFlare is probably a good choice. But then again, CloudFlare offers a lot more than just cache, so it’s a very simple, easy way to add some security, cache and CDN offloading to your site.
This comment has been deleted