Running Express server alongside Ghost droplet

  • Posted on February 6, 2015
  • hotbelgoAsked by hotbelgo

I want to build a Ghost blog with some extra functionality, based on a REST API (angular) and mongo database.

All of this may be straightforward when Ghost Apps are possible, but in the meantime (and pending any design advice…?) I’ll need to provide that on a separate Express server (using a different port?). Is that possible on the $5 bundle (as that has more than enough capacity for the site as it currently stands)?

(Note: I don’t (yet) know what Nginx is so apologies if that’s basically the answer.)

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.

Here is a good manual (written by Mitchell Anicas) on how to use PM2 to run node.js apps in production and how to use nginx as reverse proxy.

Basically what you need is to run Ghost and Express on different port. Than you can configure nginx reverse proxy either to use different ports too or different sub-domains on port 80.

$5 VPS is enough to run personal Ghost blog and small Express server simultaneously. I use such configuration. It uses about 80% of RAM, so don’t count on adding third server app.

Hope this helps.