How to use DNS to redirect domain to specific port on my web server
I have a domain xyz.com and a web application running at http://AAA.BBB.CCC.DDD:8080/pcc.
When the user enters the URL xyz.com and www.xyz.com, I want that the page on http://AAA.BBB.CCC.DDD:8080/pcc is displayed in the browser.
What DNS records should I add?
1) I changed the port to 80.
2) Thanks all for the help!
Now I can reach the application via URLs
www.xyz.com/pcc xyz.com/pcc ,
i. e. xyz.com and www.xyz.com point to AAA.BBB.CCC.DDD.
One last thing remains: I want xyz.com to point to the pcc directory (as well as www.xyz.com).
How can I do that?