Digitalocean droplet setup for WordPress

0
213
Say Hi! and Follow

Newbie blogger or site owner often ask how to make the site load faster on shared hosting, and they know the limitation. And after going through a few frustrations moments, they want to move out from shared to cloud hosting.

At this time, WordPress is the most popular CMS (content management system) on the internet. It allows you to easily set up flexible blogs and websites on top of a MySQL backend with PHP processing. WordPress has seen incredible adoption and is a great choice for getting a website up and running quickly.

The first step that we will take is a preparatory one. WordPress uses a relational database to manage and store site and user information.

  1. To start with, create a single $5 droplet.
  2. After it’s created, you can resize to $10 or $20, but without resizing the storage, so you can downscale again.
  3. 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.
  4. Do not use Apache – just run with Nginx, it’s faster and instead of two services, there would only be one.
  5. 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.
  6. And finally you remove and uninstall the database from the original droplet.
  7. When you need more space for media/files, then you would setup Block Storage by following the question you’ve already linked to.
  8. Just a note, I created that guide for a single WordPress site, so it need to be changed a bit to accommodate multiple sites.
  9. And from there, you can expand by adding load balancer, cache, or other server types.

No matter how many pages and websites you have, I am using managed WordPress hosting on Cloudways and using DigitalOcean as a platform, I am hosting there 6 websites and have 100K monthly views with thousands of pages, Its good to go with them.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 25,221 other subscribers

Leave a Reply