Can I run a Ghost blog using Apache and node.js?

  • Posted May 27, 2014

I host multiple websites on my server, most of which are anywhere from basic HTML pages to Wordpress blogs. Is there any way that I can run a Ghost blog along side all of that on a separate virtual host within Apache? I’ve tried doing this in the past but I had Nginx and apache both running.

I’m just beginning to learn about node.js, so I’ll I know at this point is that it’s needed for Ghost to run.

tldr; I want to have a ghost blog that I can server with apache and still be able to access my other websites.


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

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.

Sure you can! Node apps have their own web server built in. When you run Ghost, it will is served on port 2368 by default. The port can be configured in <code>/path/to/ghost/config.js</code> You can then set up an Apache VirtualHost that proxies port 2368 to the subdomain or subfolder you want using a ProxyPass. Check out this article for more info on Apache ProxyPasses: <br> <br>