Skip to content
Go back

Moving from WordPress on Digital Ocean VPS to Cloudflare Pages and Astro SSG

Published: at 04:45 PM

Background

I’ve been a customer of Digital Ocean for about ten years, initially running an Ubuntu VPS server with Virtualmin/Webmin, and later moving to Plesk. However, when Plesk changed its licensing model and Let’s Encrypt SSL renewals stopped working, I decided it was time for a change. I wanted a cheaper, ideally free, alternative. This guide outlines how I successfully migrated my blog from WordPress on a Digital Ocean VPS to Cloudflare Pages and Astro SSG.

Old Setup: WordPress on Digital Ocean VPS

Pros:

Cons:

New Setup: Cloudflare Pages and Astro SSG

Pros:

Cons:

Step 1: Cloudflare Pages

Cloudflare Pages is a JAMstack platform for frontend developers to collaborate and deploy websites. It offers several benefits over a traditional VPS setup:

Step 2: Cloudflare Domains

Using Cloudflare for domain management offers several advantages:

Step 3: Astro

Astro is a modern static site generator that offers several benefits over WordPress:

Step 4: Integrating Giscus for Comments

Giscus is a comments system powered by GitHub Discussions. It integrates seamlessly with Astro and offers several benefits:

Conclusion

By migrating my blog from WordPress on a Digital Ocean VPS to Cloudflare Pages and Astro, I achieved several benefits:

Specifically with regards to performance:

Pagespeed Insights Results for this website - 100 across the board

I hope this guide helps you in your own migration journey. If you have any questions or need further assistance, feel free to reach out. Happy blogging!

References


Suggest Changes

Previous Post
Deploying .NET applications to Coolify
Next Post
Integrating Giscus Comments in AstroPaper v5