If you want to copy the site, do site maintenance, deployment, and make a lot of changes, it is possible to stop your Web application, and in a friendly way to prompt users, such as what "this site is being updated" and so on the information can be created by a call app_offline.htm ( A static HTM page file, which changes to what you want to display temporarily, is placed in the root directory of your app.
Any external requests will be transferred to the page immediately. At this time, your site can still be accessed, but your app cannot be accessed.
Oh, in that case, you can avoid a lot of updates to the site is a nuisance.
Attention:
(1) app_offline.htm cannot be less than 512 bytes.
(2) only requests to the. aspx file are automatically forwarded to the app_offline.htm file, and if the. htm file is requested, it will not go to app_offline.htm
The problem is resolved after you delete the app_offline.htm in the root directory.
The role of app_offline.htm