Running Meteor on the same VPS as Apache? Tips?


#1

I’ve got a VPS currently running one mission critical web store (Apache, WordPress). I want to run a pretty small and lightweight Meteor website on the same machine, but am curious how this would work (using mup and cluster). I would obviously need it to not interfere with Apache in any way. Any advice or pointers in the right direction would be greatly appreciated!

(side note: mup is great, but do I need cluster? I’m not sure. I want the Meteor/Node server to be as rock solid and bulletproof as possible)


#2

What you need to do is configure Apache as a reverse proxy to port 3000 or whichever port you chose for Meteor. You can find instructions here: https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension


#3

You can also check out Phusion Passenger. That is what I am using on my dev server