How to install Ghost CMS on Digitalocean – Ghost Installation Tutorial

install Ghost CMS on Digitalocean

install Ghost CMS on Digitalocean

How to install Ghost CMS on Digitalocean

Ghost is Professional Blogging Platform like WordPress it is an Open Source Project with advanced Javascript Frameworks like Node.js, Ember.js, and Handlebars.

This tutorial we are going to learn about How to install Ghost CMS on Digitalocean

Requirements for Ghost Blog

  • Hosting  – Cloud based servers we recommend Digitalocean [10$ Plan]
  • SSH Terminal for Installation
  • Os  – Ubuntu
  • Server  – Nginx
  • Framework  – Node.js

Steps to install Ghost CMS on Digitalocean Droplet

  • Login to your Digitalocean account
  • create new Droplet
  • In Choose an Image Select One click Apps and Choose Ghost

install Ghost CMS on Digitalocean

  • Choose your Droplet Size if you Running personal blogs or PBN 10$ is enough or something big choose above 10$ plan
  • Leave Block Storage
  • Pick a datacenter which one Suited for your blog
  • In additional Options, if you want to run PBN then tick Private Networking and if you want IPV6 Tick it otherwise leave the Additional Options
  • Leave SSH Keys
  • Final Step Create Hostname for your Droplet and Click “Create.” Button
  • That’s all Successfully we install Ghost CMS on Digitalocean

 install Ghost CMS on Digitalocean

Important Ghost Installation steps

Now open the Digitalocean Droplet from SSH terminal windows users Download Putty terminal for Manage your Do droplet Mac and Ubuntu users Manage your DO Droplet from your Inbuilt terminal.

  • After creating your New Droplet, you receive the mail from Digitalocean; they send all login credits for your Do droplet
  •  Login your Do droplet from SSH terminal
  • For the first time, It ask to change the root password change it from your SSH terminal
  • After changing the password, it automatically Complete the Full Ghost Installation

install Ghost CMS on Digitalocean

  • Now Set Up a Custom Domain for your Ghost blog
  • Run this below command to Open Ghost Config File
nano /etc/nginx/sites-available/ghost
  • replace the IP address with your Domain name example My domain name is, so I added the

install Ghost CMS on Digitalocean

  • After adding your Domain press CTRL +X save the settings
  • now it ask Save Modified Buffer “Press Y” and Click Enter to save your Configuration
  • Final Step now open Ghost config.js to add your Custom Domain because your Ghost website in production mode it runs your website on IP address use this below command line to open config.js file
nano /var/www/ghost/config.js
  • Replace the IP URL with Custom Domain name

install Ghost CMS on Digitalocean

  • After Configuration save the settings (Same as Above Method)
  • After all, set up use this below command lines to restart the Nginx and Ghost
sudo service ghost restart
sudo service nginx restart
  • Before adding your Custom domain make sure that your domain was added to the Digitalocean also update the nameservers in your Domain registrant if you are using Subdomain update IP in an A record
  • That’s all Successfully we install Ghost CMS on Digitalocean with custom domain

Ghost Blog Setup

Configure your Ghost account your registration URL

install Ghost CMS on Digitalocean

  • Click create new account
  • In the second step create your new account

install Ghost CMS on Digitalocean

  • After Filling the registration from click the Button and Move next step
  • In Next step to it ask to add team members just skip that step you can add them later from your Ghost admin panel
  • It moves you to the Ghost admin content page.
  • You can receive the mail after successful installation

install Ghost CMS on Digitalocean

  • Your Ghost Blog admin URL will be Like this
  • That’s all your Ghost blog ready Happy Blogging 🙂

How to Update the Ghost Blog CMS into New version?

Here’s the One Line Command Just run this command line and Update your Ghost Blog version.

sudo wget -O - | sudo bash

Credit Goes to For this Awesome work 🙂 This One click Update code written by Andy Boutte and David Balderston From Ghostforbeginners.

We personally tested From our side Working Fine Without Any issue.

Some useful Command Lines to Manage Ghost blog on Digitalocean

Start and Stop the Ghost

service ghost start
service ghost stop

Restart the Ghost Blog

sudo service ghost restart

Restart the Nginx

sudo service nginx restart

Start and Stop the Nginx

sudo service nginx start
sudo service nginx stop


From the Editor’s Desk

Hope this tutorial will help you to install Ghost on Digitalocean if you have any Doubts in this tutorial Feel Free to Comment Here I will Help you.

  • Official Ghost Installation and Upgrading Ghost Documentation – Learn Now
  • Ghost Maintainance Documentation – Read Now

Trending: How to Upload Images in Ghost Blogging Platform


Was this article helpful?

Your feedback helps us improve