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 foobar.com?
Share
You have to bind your domain’s
apex (naked domain)and usuallywwwwith 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