In my location, connections to Azure servers are not good so i have to run an on-premises hosting. Whenever the hosting go down, i want an azure web app replace it. I use azure traffic manager with routing mode: Priority for that purpose.
The on-premise website is something like: basesite.com
The azure web app is something like: secondsite.azurewebsites.net
I have access all of these sites and they work well.
Trafficmanager work at something like: mysite.trafficmanager.net
At first, i create 2 endpoint:
1st Priority for basesite.com
2nd Priority for secondsite.azurewebsites.net
All the endpoint are enabled and monitor status are Online.
Now, i access mysite.trafficmanager.net and it return a 500 - Internal server error.
To investigate more, i have tried creating some default azure web app and add them as endpoints of traffic manager and it works perfectly as i expect. It looks like the issue just come with on-premise deployment (external endpoint).
I guess that there is some problem with my local hosting (configuration of server or DNS server...) but i don't have any clue to find out exactly.
How can i get more detail of the error from trafficmanager instead of just a meaningless 500 message?
UPDATE:
To check my on-premise as Juunas suggested, I deployed a static html on basesite.com. The result isn't different. It's ok when i access directly from basesite.com but failed via traffic manager.