How to setup CDN with Ghost CMS for free with SSL

What is CDN

A content delivery network is distributed servers across the globe are called edge servers that caches the content and serve the user from the nearest edge server.

Thanks - https://www.cloudflare.com

Imagine you have server in India and you have users from all over the world, If you want to improve the loading speed of the site, we need to deploy the servers around the world and this increase your running monthly cost to avoid this better option is using CDN it will take care of this setup at low cost.

When the user try to access the internet content, CDN will redirect the request to the nearest edge server from the user, which reduces the latency duration and improves the loading speed of the content.

Why Cloudflare

Cloudflare is not just an CDN it provides all in one package

  1. Security
  2. Performance
  3. Reliability
  4. Free SSL

and the they startup plan which is free!!! link

Steps 1: Create cloudflare account

Cloudflare | Web Performance & Security
Log in to Cloudflare to access our scalable and easy-to-use security and performance platform. Enable enterprise class speed and protection to keep your app safe and available around the globe.
PC - mobilelabs.in

Step 2: Verify email and Add site

PC - mobilelabs.in

Step 3: Choose your plan

PC - mobilelabs.in

as I promised we can proceed with the free plan.

Step 4: Add Ghost CMS in cloudflare

Now enter Ghost CMS URL, cloudflare will scan your domain DNS records automatically and adds all we need to do moving to the next step.

PC - mobilelabs.in

Step 5: Change your nameserver

We need to change domain nameserver to the cloudflare nameserver for giving control over the cloudflare.

PC - mobilelabs.in

Now we updated the nameserver, we can proceed by clicking the done.

Conclusion

We have seen why we need CDN, how it will improve our site performance and security and connected the Ghost CMS site in CND using cloudflare.

How to install robot framework
We will learn how to install robot framework and get started with the real example.