How To Install Ghost on DigitalOcean

Below we are using a DigitalOcean referral link. These referral links do not cost you any extra money and just provide a small commission for providing them with a client. We do not recommend DigitalOcean because of this, but because we have used them for years. We host our site on their platform. Please do not spend any money on DigitalOcean unless you feel that it is a good fit for hosting your Ghost blog.

Like we said above, we love DigitalOcean. Our site runs on their platform. They provide great service and flexibility. Here is how to install Ghost on DigitalOcean:

  1. Sign up at DigitalOcean and enter your credit card information or make a paypal payment.

  2. Click on Create -> Droplet.

  3. Click on Marketplace, then click See all Marketplace Apps, and then search for Ghost.

  4. Click on Create Ghost Droplet

  5. Leave the plan as Standard, and choose the monthly plan you wish to use (we recommend the $10/mo droplet for most projects).

  6. Select your region.

  7. For authentication, creating and using SSH Keys is the most secure (Here is DigitalOcean's instuctions on how to create and use SSH Keys), but if you want something fast and quick, just have them email you the password and you can setup the ssh keys later on.

  8. Name your Droplet (in the Choose a hostname box), assign it to a project, add tags, and enable backups if you wish to do so.

  9. Click Create.

  10. Once your Droplet is created, type the IP address into your browser and your Ghost blog is up and running!

  11. In order to access the server for your blog, you are going to need to SSH in. In order to do that, DigitalOcean either emailed you the username and password, or you created the SSH key. Open up either a Terminal or SSH application and use the following command:

    ssh root@[IP address of the droplet]

    Either enter in the password provided, or it will connect automatically using the SSH key. If you are using SSH keys and it doesn't connect automatically, make sure you have the SSH key in your profile (ssh-add -K [your path to the ssh folder]/.ssh/[the ssh key name]). Now, once in, you can setup your users for the server and do any security or updates you need to do.

Now that you have Ghost installed, lets head to the next section so we can create the first user!

Create First User