How do I install Ghost in subdirectory on Nginx Ubuntu 12.04?

January 4, 2014 4.5k views
I already have a working WordPress instance on Nginx Ubuntu 12.04. I tried to install Ghost in subdirectory as my 'blog' but after walking through most of the tutorials in DO and some websites dedicated for it (howtoinstallghost etc.) I still can't make it to work. Here's the site with WordPress running: (side note: it's actually a WP-Skeleton running on BedRock setup, with possibility of using Capistrano as deployment). I intend to Ghost working at What am I supposed to do to achieve that? Thank you for your concern and time! - Ajmal
4 Answers
FYI Ghost did not support being installed in a subdirectory till today, when version 0.4 was released.

I have written a tutorial that explains how to install Ghost in a subdirectory with Nginx:
  • Cool and how can i move my existing ghost blog to a subdirectory ?
    Just need to change the ghost config and nginx conf ?


Here's my error when I ran npm start --production:
Error: listen EADDRINUSE

There's something listening on the port that nodejs is trying to listen on. You can check what process is using that port by running
sudo netstat -plutn
Have another answer? Share your knowledge.