Hi @Umer Rashid There are a few ways to show a maintenance page for your webapp:
- Use Azure Front Door or Application Gateway:
- Set up Azure Front Door or Application Gateway in front of your App Service.
- Configure a custom error page for specific HTTP status codes (e.g., 503 Service Unavailable).
- During maintenance, you can either return a 503 status from your app or stop the App Service.
- KUDU - Debug Console:
- Go to Azure portal, your Web App ->Advanced Tools ->KUDU - Debug Console ->CMD -> site->wwwroot, check if web.config file exists or not. Create one html file with the content which you want to show
- Use Azure Traffic Manager:
- Set up Azure Traffic Manager with your main App Service as the primary endpoint.
- Create a secondary App Service with just the maintenance page.
- During maintenance, disable the primary endpoint in Traffic Manager.
- Utilize Azure App Service Swap Slots:
- Create a staging slot with the maintenance page.
- During maintenance, swap the staging slot with the production slot.
Hope that helps.
-Grace