How to Set up a Self-Hosted Ghost Blogging Platform

Setting up a self-hosted Ghost blogging platform with DigitalOcean, Namecheap and Cloudflare

Image for post
Image for post
Photo by Tandem X Visuals on Unsplash

What is Ghost

Why choose self-hosted Ghost

Accounts that you need for self-hosted Ghost

Hosting

Domain

Content Delivery Network (CDN)

Business Email (Optional)

Buying Domain on Namecheap

Search domain on Namecheap for Self-Hosted Ghost
Search domain on Namecheap for Self-Hosted Ghost
Namecheap domain name search bar
Domain is available for self-host Ghost
Domain is available for self-host Ghost
Domain is available
Checkout domain on Namecheap
Checkout domain on Namecheap
Checkout domain on Namecheap
Checkout page on Namecheap for self-hosted Ghost
Checkout page on Namecheap for self-hosted Ghost
Checkout page on Namecheap

Setting up Private Email

Go to Namecheap dashboard for self-hosted Ghost
Go to Namecheap dashboard for self-hosted Ghost
Go to Namecheap dashboard
Image for post
Image for post
Manage Private Email
Create mailbox on Namecheap for self-hosted Ghost
Create mailbox on Namecheap for self-hosted Ghost
Create mailbox on Namecheap
Create mailbox form on Namecheap for self-hosted Ghost
Create mailbox form on Namecheap for self-hosted Ghost
Create mailbox form on Namecheap

Creating a Ghost Droplet in DigitalOcean

Registering on DigitalOcean

Image for post
Image for post
Add payment method on DigitalOcean
Image for post
Image for post
Registration complete on DigitalOcean
Image for post
Image for post
Let’s build something on DigitalOcean
Image for post
Image for post
Configure project on DigitalOcean

Setting up SSH key (Optional)

Creating a Droplet

Create droplet on DigitalOcean for self-hosted Ghost
Create droplet on DigitalOcean for self-hosted Ghost
Create droplet on DigitalOcean
Create Ghost droplet from DigitalOcean's marketplace
Create Ghost droplet from DigitalOcean's marketplace
Create Ghost droplet from DigitalOcean’s marketplace
Configure Ghost droplet from DigitalOcean's marketplace
Configure Ghost droplet from DigitalOcean's marketplace
Configure Ghost droplet from DigitalOcean’s marketplace
Image for post
Image for post
Droplet created in project
Image for post
Image for post
Log into SSH page

Setting up Cloudflare CDN to your domain

Registering on Cloudflare

Register Cloudflare account for self-hosted Ghost
Register Cloudflare account for self-hosted Ghost
Register Cloudflare account

Adding our domain to Cloudflare

Image for post
Image for post
Add your domain to Cloudflare
Choose Cloudflare plan for self-hosted Ghost
Choose Cloudflare plan for self-hosted Ghost
Choose Cloudflare plan
Image for post
Image for post
Check DNS record on Cloudflare
Image for post
Image for post
Choose method to move domain to Cloudflare
Image for post
Image for post
Cloudflare’s nameservers

Changing your domain’s nameserver to Cloudflare nameserver

Image for post
Image for post
Manage domain on Namecheap
Image for post
Image for post
Change nameservers on Namecheap
Image for post
Image for post
Check nameservers on Cloudflare
Image for post
Image for post
Cloudflare’s get started
Image for post
Image for post
Recommended settings for Cloudflare
Image for post
Image for post
Successfully added domain to Cloudflare

Setting your domain in Cloudflare to point to your droplet

Copy Ghost droplet's IP on DigitalOcean
Copy Ghost droplet's IP on DigitalOcean
Copy Ghost droplet’s IP on DigitalOcean
Edit DNS records on Cloudflare for self-hosted Ghost
Edit DNS records on Cloudflare for self-hosted Ghost
Edit DNS records on Cloudflare
Image for post
Image for post
Insert IPv4 address in Cloudflare
Image for post
Image for post
Change www CName
Image for post
Image for post
Testing your domain

Setting up SSL/TLS

Setting up SSL on Cloudflare for self-hosted Ghost
Setting up SSL on Cloudflare for self-hosted Ghost
Setting up SSL on Cloudflare for self-hosted Ghost

Configure Ghost installation on DigitalOcean

Copy Ghost droplet's IP
Copy Ghost droplet's IP
Copy Ghost droplet’s IP
SSH to Ghost droplet
SSH to Ghost droplet
SSH to Ghost droplet
Authenticity of host prompt on Ghost droplet
Authenticity of host prompt on Ghost droplet
Authenticity of host prompt on Ghost droplet
Get started on Ghost droplet
Get started on Ghost droplet
Get started on Ghost droplet
Enter domain name on Ghost droplet
Enter domain name on Ghost droplet
Enter domain name on Ghost droplet
Enter email for SSL certificate on Ghost droplet
Enter email for SSL certificate on Ghost droplet
Enter email for SSL certificate on Ghost droplet
Finish setting up Ghost droplet
Finish setting up Ghost droplet
Finish setting up Ghost droplet
Self-hosted Ghost homepage
Self-hosted Ghost homepage
Self-hosted Ghost homepage

Setting up Ghost Admin

Setting up self-hosted Ghost
Setting up self-hosted Ghost
Setting up self-hosted Ghost
Creating admin account for self-hosted Ghost
Creating admin account for self-hosted Ghost
Creating admin account for self-hosted Ghost
Invite staff users on self-hosted Ghost
Invite staff users on self-hosted Ghost
Invite staff users on self-hosted Ghost
Self-hosted Ghost's admin page
Self-hosted Ghost's admin page
Self-hosted Ghost’s admin page

What’s next

A Software Engineer— Interested in Artificial Intelligence, Programming, Technology, Software Engineering and Relevance Engineering— https://codecurated.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store