How to use DNS to redirect domain to specific port on my server
My web application is running on myserver.mydomain:10000 I would like to make it available on the intranet as mywebapp.mydomain.
Reading Forward port to another Ip/port, I have looked into rinetd, but I don't fully understand how I can achieve my goal:
- create a cname alias mywebapp --> myserver on the name server
- run rinetd on myserver, redirecting port 80 to 10000 ?!?
That would redirect all http traffic.
I seem to have a gap in my understanding. Can anyone help me ?