Nodejs app how to load domain instead of ip + port

I have an app that I would like to load using a domain name instead of the ip:port. It currently loads find with the ip and port but I can not get it to work with a domain. I have created the subdomain A record and tried a few tutorials. None of which seem to work. These two seemed promising but still did not work for me:

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
May 4, 2022


This is doable with Nginx. You can follow the instructions from step 5 from this tutorial here on how to setup Nginx as a reverse proxy for your Node.js App:

You can also follow the steps on how to do that in this video here: