I have an Azure Ubuntu VM server with multiple websites. Say website A = 81, website B = 82. These endpoints are exposed and I can access the website externally using <ip address>:<port>.
I would like each of my websites to have a friendly domain name but in the CNAME records, I cannot specify a port - I can only specify an IP address.
Normally, this is fine because it'll just default to port 80. But I have multiple websites and therefore they cannot all be port 80 - so how can I have a domain forwarded to a Azure VM pointing to a non 80 port?