This is the article I wish I had found when putting my NodeJS application live.

I’d got my shiny new NodeJS application working perfectly so I deployed it onto my production server in a folder that sat next to other sites I had hosted on there.

I installed MongoDB and NodeJS and then ran my application.

It worked! But it could only be accessed via _localhost:3000 _which I didn’t have access to on my production server.

“How does the port work with setting up a domain and pointing to it using a virtual host?” I thought.

First I’ll answer the virtual host problem and then head on to a great little package which is perfect for helping run a NodeJS application in a production environment.

#javascript #nodejs #web-development #apache #node

Running a NodeJS Application on an Apache Production Server
5.15 GEEK