Best Practices Multi-app Multi-domain Node Server

37 views
Skip to first unread message

Jason Nunnelley

unread,
Jun 9, 2015, 12:32:44 AM6/9/15
to nod...@googlegroups.com
I'm looking for best practices multi-app, multi-domain node server
configuration. Imagine like a LAMP server with 5 different apps
running on 5 different domains. How would I build a similar Node
configuration?

Jason Nunnelley
Member Tekany, LLC
256.962.0290

Ryan Schmidt

unread,
Jun 9, 2015, 9:42:59 AM6/9/15
to nod...@googlegroups.com

On Jun 8, 2015, at 10:20 PM, Jason Nunnelley wrote:

> I'm looking for best practices multi-app, multi-domain node server
> configuration. Imagine like a LAMP server with 5 different apps
> running on 5 different domains. How would I build a similar Node
> configuration?

Probably, you would build 5 separate node apps, running on different local ports. Then, you would configure nginx as a front-end, with separate name-based virtual hosts for each domain, configured to reverse-proxy the requests to the appropriate node app's port number.


Reply all
Reply to author
Forward
0 new messages