For customer facing Siebel applications you need to host the offline page when the application is down and you’re fixing issues or doing recycles. Your customers may get annoyed by seeing the message like “The server you are trying to access is either busy or experiencing difficulties. Please close the Web browser, open a new browser window, and try logging in again. [16:18:44] “to avoid this you need to host an offline page.
This can be achieved in various ways in IIS server-
- URL Redirect
- using web.config
- using default.htm
- using IIS Rewrite module
In this article we will discuss how to host offline page using IIS Rewrite module. (Use site search to locate other methods in directutor.com)
Steps to achieving the offline or Maintenance page:
- Create an offiline.htm page and host it in IIS.
- Install iis rewrite module
- Create Re Write Rule
- Create offline page: Using any standard HTML editor create a html page with message you want to display when site is offline for maintenance.
- Download and install IIS rewrite module :
- Create ReWrite Rules:
- Open IIS manager
- In the Features View, double click on “URL Rewrite”
- In the actions pane, click “add rule” link, it will open up a form called “Inbound Rules”
- In Name enter “Site Offline Rule”
- In the “Match URL” Section
- Select “Match the pattern” from “Requested URL” drop down
- In the “Pattern” field enter “your url to be redirected
- Check “Ignore Case” check box
- In the “Action” Section set the “Redirect URL” to offline page url
- Set Redirect type to “Temporary (307)”
- Click “Apply” in the action pane.
Video walkthrough
· Using the URL rewrite module - video walkthrough