Thursday, February 9, 2023

Digitalocean droplet setup for WordPress

Newbie bloggers or site owners often ask how to make the site load faster on shared hosting, and they know the limitation. And after going through a few frustrating 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 needs 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, It is good to go with them.

Gayle Meets MS Dhoni

Gayle Meets MS Dhoni: एक साथ दिखे दो दिग्गज क्रिकेटर, सोशल मीडिया पर तस्वीरों...

0
Gayle meets ms dhoni ek saath dikhe Gayle Meets MS Dhoni: अंतर्राष्ट्रीय क्रिकेट को अलविदा कह चुके पूर्व भारतीय कप्तान एमएस धोनी (Mahendra Singh Dhoni)...
12 Ki umar me choda ghar Naseem Shah

12 की उम्र में छोड़ा घर, डेब्यू मैच में मिली मां के निधन की...

0
Dil cheer degi naseem shah ki kahani Naseem Shah: पाकिस्तान के युवा तेज गेंदबाज नसीम शाह ने बेहद कम समय में ही विश्व क्रिकेट में...
Suresh Raina With Wife Priyanka Chaudhary and daughter Gracia Raina

Suresh Raina: 13 की उम्र में करना चाहते थे सुसाइड, डेब्यू टेस्ट में शतक,...

0
Suresh raina 13 ki umar me karana chahate the suicide Suresh Raina Personal Life: भारत में क्रिकेट प्रेमियों की कमी नहीं है, इसलिए तो लोग...
Shoaib Akhter se 17 saal choti hai Wife Rubab Khan

Shoaib Akhter से 17 साल छोटी हैं Wife Rubab Khan, खूबसूरती में किसी अभिनेत्री...

0
Shoaib Akhter se 17 saal choti hai Wife Rubab Khan Shoaib Akhtar Wife Rubab Khan: शोएब अख्तर पाकिस्तान के सबसे शानदार गेंदबाजों में से एक...
3 crore logo par Gautam Gambhir ne kiya kharch

5000 लोगों को खाना खिलाना, 3 करोड़ गरीबों पर खर्चा, सादगी का जीवन जीना,...

0
3 crore gareebon par kharch अक्सर गौतम गंभीर पर सवाल उठते रहते हैं| आलोचक सवाल खड़ा करते हैं कि गौतम गंभीर (Gautam Gambhir) सांसद होने...
Enable Notifications OK No thanks