Put all web servers on the server offline

Sometimes we need to perform maintenance on a web server.

In the period of time during which this service is performed, I want the user page to be displayed to everyone who is trying to access our applications.

I know about the app_offline.htmfile . But using this "trick", I would need to put the file on a web application on the server, right?

We use IIS 6 and 7 using the classic ASP, ASP.NET 1.1, ASP.NET 2.0, and ASP.NET 3.5 applications.

So the question is: is there a better way to do this?

+3
source share
2 answers

/ - -? , "--". , .

+2

, , -, - , . app_offline.htm( ), app_offline.online, .

app_offline , , - . ( , .)

, , . .Net.

asp . " " (401) , . , -, .

+2

Source: https://habr.com/ru/post/1733934/


All Articles