Reputation: 41
How can we temporary off the running website & gives a message "This site is Temprorary unavailable", actully i want to gives a power to admin he can temporary on/Off the website... according to my need i dnt want to add web_offline.htm page. I simply do it by button control i.e. Active website & Deactive website(dynamic method)
Upvotes: 2
Views: 907
Reputation: 6571
Place app_offline.htm
page on root of your asp.net website.
The user then see what ever you have write on this app_offline.htm
file.
For more detail http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx
Upvotes: 5
Reputation: 3029
I think you might be looking for this: http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx
Basically just create an app_offline.htm file and your application will shutdown and users will get that page.
Upvotes: 3