How can I indicate to users that my IIS website is undergoing maintenance?

前端 未结 5 1472
感情败类
感情败类 2020-12-01 02:49

For my IIS website, I\'d like to redirect ALL requests to ONE page. The purpose of this is that I want to do some maintenance on the database (take it off-line) that all my

5条回答
  •  一生所求
    2020-12-01 03:19

    In IIS 10 there is an optional component "HTTP Redirect" (it may be available in earlier IIS versions; I don't know). It allows you to set up very simple catch-all redirects, using any of the common HTTP redirect response codes. This can be installed via Server Manager, in Windows Server 2019.

提交回复
热议问题