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 use Azure Traffic Manager to distribute network traffic.
See : Create a Traffic Manager profile using the Azure portal
- For Azure VMs, the endPoind should be Azure endpoints.
- For anything on the internet, you can use External endpoints
Since you mentioned primary site is on Azure VMs,
- You can consider Priority traffic-routing method
- And configure the Azure VM endpoint to have the highest-priority
- This way, only if the Azure VMs is down, the traffic will be routed to the next endpoint.
Kindly let us know if this helps or you need further assistance on this issue.
Thanks,
Kapil
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.