so I tried looking for answers on the internet but nothing useful came up.
I have 2 node.js applications running on the same vps. One on port 8080, one on 8081. Currently if I connect to the applications using my browser I have to type in ip:8080/8081. How could I manage my domains so that instead of having to type the ip, I can do sub1.domain.com for ip:8080 and sub2.domain.com for ip:8081.
I tried using Nginx but node.js applications break through it for some reason
Domain is hosted in namecheap
I have 2 node.js applications running on the same vps. One on port 8080, one on 8081. Currently if I connect to the applications using my browser I have to type in ip:8080/8081. How could I manage my domains so that instead of having to type the ip, I can do sub1.domain.com for ip:8080 and sub2.domain.com for ip:8081.
I tried using Nginx but node.js applications break through it for some reason
Domain is hosted in namecheap

