App service Error Page:Configure a custom HTML document that will be presented to users instead of the standard platform error page.

prabhat Kumar 1 Reputation point

Hi folks

In appservice configuration setting error page setup i uploaded simple html page but for 403 and 503 error and when i stopped app service then ideally my custom page should show but that is not showing .

Please help

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,600 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 17,436 Reputation points Microsoft Employee

    prabhat Kumar, Based on my understanding of your scenario description, you are looking for this- How-to configure a custom error page on App Service

    App Service enables the use of custom error pages for 403, 502, and 503 error codes so you can customize your users experience.

    I understand that you have implemented this feature, but it's not working for stopped site.

    Custom error pages are for errors that terminate on the FrontEnd (ie, request that doesn't make to your app). For this case, a 404-error page is not meaningful, since when a 404 comes from the FrontEnd it means we were unable to find a site for a hostname in the first place. Once the request gets to the app it is assumed the users' can use whatever error page.

    0 comments No comments