Getting Ghost running in production mode

I meant to write this short article the day I got this blog running, but I easily forgot, but finally remembered today while I have some free time to write it.

The Ghost blogging platform docs are piecemeal, and nowhere do they clearly explain how to get up and running when you install it on your VPS/instance/server/etc with DNS pointing to it.

So here we go.

  • After you've got Ghost installed, open the config.js file in the root of the install folder.
  • Go down to about line 43, or search for the string /// ### Production
  • Modify the production config object so that the url property is your FQDN (e.g.
  • Modify the property to be your www domain (e.g.
  • Modify the server.port property to be 80.
  • Save and exit the file.
  • From the same directory execute the following command.

You need the sudo because only root, or those with sudo access, can start a process listening on port 80.

sudo NODE_ENV=production forever start index.js