Reputation: 11501
I have an Umbraco website on my Azure app service and it is working fine. I want to bring the site down nicely to do some maintenance so I've added created an "app_offline.htm" file and when I put it on the root of my website locally (on my machine IIS 10, windows 10) it immediately shut downs the website.
But when I copy the file to the root directory of my website on app service (D:\home\site\wwwroot> using KUDU) it doesn't do anything. What should I do?
Upvotes: 1
Views: 2338
Reputation: 11501
Ok, I've restarted my app service and it made the app_offline work fine as evilSnobu mentioned in the comment.
Also, recycling the app should work. I've changed my webconfig (added one space somewhere ) and the app_offline started to do its job! :)
Upvotes: 1