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: https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension
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.
Hello,
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:
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04#step-5-setting-up-nginx-as-a-reverse-proxy-server
You can also follow the steps on how to do that in this video here:
Best,
Bobby