Azure Traffic Manager 404 Web Site not found

Reading Time: 2 minutes


A quick post about a problem I encountered after deploying an Azure Traffic Manager with three endpoints consisting of three websites running in Azure App Services. Initially, everything worked smoothly, but a few days after deployment, I started encountering an error.

When accessing the traffic manager url, I received the message below.

Message:
404 Web Site not found. You may be seeing this error due to one of the reasons listed below:
– Custom domain has not been configured inside Azure.
Client cache is still pointing the domain to the old IP address. Clear the cache by running the command ipconfig/flushdns.

Image


Traffic manager also showed a monitor status of Degraded as shown in the image below

Image


However, I was able to access each app service url directly without an issue and the web page would load successfully. The above error only appeared when accessing the traffic manager url.

Resolution
I was originally using standard app service plans which support custom domains. My Azure App Service Plan had the traffic manager domain configured as shown in the image below.

Image


When investigating, I found that the error was due to my app service plans being downgraded to the shared tier, which does not allow the use of custom domains.

Image


Upgrading to a plan which allows custom domains resolved the issue.

A quick post, but I hope it’s of use to you.

How useful was this post?

Click on a star to rate it!

As you found this post useful...

Follow us on social media!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.