I have an Azure Linux VM that runs two web sites. On port 80 and 8080. I'm going to add domains to both the sites and when the domains are mapped I don't want the user to specify the port (for example 8080). Meaning there should be two public endpoints.
What service in Azure can I use for getting this done?
It sounds like you're looking for a reverse proxy. Azure Load balancer can do this for you.
https://azure.microsoft.com/en-us/services/load-balancer/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With