Report this

What is the reason for this report?

Running Express server alongside Ghost droplet

Posted on February 6, 2015

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.)



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!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.