How to Make an Application Offline in ASP.NET 2.0
page 2 of 5
by SANJIT SIL
Feedback
Average Rating: 
Views (Total / Last 10 Days): 27739/ 35

Using IIS

Using Microsoft's Internet Information Services (IIS) web server software, we can make an application offline. The approach is to instruct IIS to route all incoming requests (for ASP.NET pages, HTML pages, images, and so on) for the web site to another URL automatically. For example, assume we have an ASP.NET application hosted on a server; we can setup IIS so that all requests to that application are rerouted to a different site or URL.

To configure an application to redirect all requests to another URL, we have to do the following.

From IIS manager -> right-click on the application -> choose Properties. From the Virtual Directory tab, indicate that the content for this application should come from "A redirection to a URL." Then enter the URL to redirect to and check "The exact URL entered above" checkbox, as shown in the screenshot below. It should be noted that in shared, hosted web environments we may not have the ability to edit IIS settings.

Figure 1


View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-03-29 1:11:11 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search