victormejia victormejia - 1 year ago 139
Node.js Question

deploying Node.js app for production

Most of the tutorials I've come across, you set up a Node.js web app by setting the server to listen on a port, and access it in the browser by specifying that port.. However, how would I deploy a Node.js app to be fully accessible by say a domain like

Answer Source

You have to bind your domain's apex (naked domain) and usually www with your web server's ip or it's CNAME.

Since you cannot bind apex domain with CNAME, you have to specify server IP or IPs or load balancers' IPs

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download