I currently have a single instance of a web app, and I have a custom domain to use for that. I know the IP address of the web app, and in the DNS manager of the custom domain, I have the A record pointing to that IP address, and additionally a www.domain.com
CNAME record pointing to the url of my Azure web app myappname.azurewebsites.net
In an attempt to get ready for some higher traffic levels, I've clones my web app across several app service plans, and set up a traffic manager, and all appears to be fine when I access the traffic manager via its url name myappname.trafficmanager.net.
I'd like to redirect my custom domain DNS to the TM from the single instance of the web app. My DNS provider does not allow for Domain Forwarding, which is the only solution that I have found for this issue.
I could reassign the A Record in my DNS manager, but Azure TM does not make the IP address of the TM known to me, so I can't redirect my A record.
I can redirect my www.domain.com CNAME record to the TM url (myappname.trafficmanager.net), so I think if the user types in www.mydomain.com, the traffic will go to the TM, but if the user types just mydomain.com, the traffic will go to the original, single
instance web app, which is not what I want.
Is there a way to find the actual IP address of the TM, and if not, is there another way I can redirect my custom domain to the TM besides domain forwarding?
Any thoughts would be appreciated. Thank you.