Question

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

Posted January 4, 2014 5.8k 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: http://pembaris.com/ (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 http://pembaris.com/blog What am I supposed to do to achieve that? Thank you for your concern and time! - Ajmal

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
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:

http://www.allaboutghost.com/how-to-install-ghost-in-a-subdirectory/
Here's my error when I ran npm start --production: https://gist.github.com/ajmalafif/8257247
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
Submit an Answer