Question

I remember it is possible to stop a website in IIS simply creating a file in the site directory with a special name. But I don't remember the name and can't find it in google. Can you help me?

Was it helpful?

Solution

App_Offline.htm, at least for Asp.Net applications.

http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx

Summary by Vincent P:

When you place a file called app_offline.htm in the root of the site, IIS stops the site. Then when you remove the file, IIS starts up and gets going when it receives the first request.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top