Question

One droplet for each Wordpress site (domain)?

I need to host several WP sites and I wonder if I can use one droplet for all of them. My sites are optimized and cached, so I do not foresee issues with memory/cpu


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Yes you can, if you are using apache for the webserver you can add an virtualhost for each domain. Then point your nameservers for each domain to the listing IP of your server.

In addition to the above answers, you could also use the free Cloudflare service and nginx’s fastcgi cache. The combined power of those two things will mean that 99% of requests won’t even touch the backend or database etc. I followed this guide https://rtcamp.com/wordpress-nginx/tutorials/single-site/fastcgi-cache-with-purging/ but I see there’s also a tutorial here now: https://www.digitalocean.com/community/tutorials/how-to-setup-fastcgi-caching-with-nginx-on-your-vps

I managed to hammer the hell out of a small droplet and serve several thousand requests per minute without the load monitor even batting an eyelid, because, as I said, Cloudflare served most of the requests before they even hit the server, and the fastcgi cache served 99% of the rest.

As an added bonus over something like W3TC kind of plugins, with the fastcgi_cache methods, your site will stay up even if your back end/php/mysql goes down! Neat, huh? (Obviously only for static content, not posting comments etc!)

Yes you can! However, what you may want to look out for is:

  1. The capacity of the droplet based of the anticipated collective load of the sites)
  2. For easy site management you may want to deploy a Control Panel like Vesta Control Panel for faster easier management of all sites(i.e. if you’re not very familiar with Linux or nginx or apache. Instructions here: https://www.digitalocean.com/community/tutorials/how-to-install-vesta-control-panel-on-ubuntu-12-04-lts