cname dns vm to traffic manager

Anonymous
2023-07-26T04:31:46.3666667+00:00

how to cname current dns vm (hostname.southeastasia.cloudapp.azure.com) to azure traffic manager (*example.*trafficmanager.net)
i needed because our mobile app use current dns vm, and i have planning to provide azure recovery site

i already setup dns zone southeastasia.cloudapp.azure.com with *hostname CNAME to example.*trafficmanager.net but it does not working

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
600 questions
Azure Traffic Manager
Azure Traffic Manager
An Azure service that is used to route incoming network traffic for high performance and availability.
111 questions
0 comments No comments
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 35,901 Reputation points Microsoft Employee
    2023-07-26T05:19:12.3966667+00:00

    @Anonymous

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I understand that you would like to configure a CNAME for your Azure VM.

    Please note that to configure a CNAME for a domain, you must own it.

    In your case, the domain is "southeastasia.cloudapp.azure.com" - which is of course not owned by you.

    Also, in this case, you should configure your Mobile App to use Traffic Manager's Domain, and not the VM's (hostname.southeastasia.cloudapp.azure.com).

    Refer : How Traffic Manager Works

    User's image

    FIRST - You may own, "contoso.com"

    • If you do, you can add the Traffic Manager's domain as a CNAME to <yourappname>.contoso.com
    • If you don't , you can directly use the Traffic Manager's domain as DNS for the VM
    • So when someone queries for <yourappname>.contoso.com , they will get <example>.trafficmanager.net

    SECOND - Traffic Manger's domain,

    THIRD - VM's domain,

    • Now, your mobile app will get the VM's domain and it can resolve it to the VM's public IP.

    Please let us know if we can be of any further assistance here.

    Thanks,

    Kapil

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful