Display error message during maintenance in IIS

RichardSa
 
on Dec 20, 2022 02:20 AM
412 Views

How do I display error message for users and visitors when I am uploading my files onto the hosted web server, or when my website is undergoing some maintenance?

Download FREE API for Word, Excel and PDF in ASP.Net: Download
dharmendr
 
on Dec 20, 2022 04:20 AM

Hi RichardSa,

Add App_Offline.htm to the root directory.

Refer

https://activedirectoryfaq.com/2015/01/iis-maintenance-page-app_offline-htm/