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

  • Posted on January 4, 2014
  • pembarisAsked by pembaris

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

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

FYI Ghost did not support being installed in a subdirectory till today, when version 0.4 was released. <br> <br>I have written a tutorial that explains how to install Ghost in a subdirectory with Nginx: <br> <br> <br>

This comment has been deleted

<pre>Error: listen EADDRINUSE</pre> <br>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 <pre>sudo netstat -plutn</pre>