How to make an application offline in ASP.NET
Microsoft's Internet Information Services (IIS) web server software is used to make an application offline. The IIS is instructed to route all incoming requests for the web site to another URL automatically.
Steps for application configuration:
- From IIS manager -> right-click on the application -> choose Properties.
- Choose Virtual Directory tab and indicate that the content for this application should come from "A redirection to a URL."
- Then enter the same URL to redirect in "Redirect to".
- Check the box "The exact URL entered above.
Read more way to do the same.