How to redirect users from the default website of WebCenter to a default instance?
Some times the customer would like to redirect all HTTP requests from the default website to a specific instance on WebCenter, e.g. http://www.ibpworld.com should be redirected automatically to http://www.ibpworld.com/ibp.
In order to do this, you simply have to modify the file that normally shows the "Under construction" message on the default website.
Usually this file is called
iisstart.htm and is located in the
c:\inetpub\wwwroot folder. Check the IIS Manager to be sure.
If you replace the contents of this file with the HTML code given below, any requests to the default website will be redirected automatically to the path specified in the code.
You can add a text to be displayed if you type it between the (
body) and (
/body) tags. If you change the
0 in the URL, you can add a pause (in seconds) before the redirection takes place.
The code to paste in is as follows:
<!DOCTYPE html> <html> <head> <title>Webcenter Logon</title> <meta http-equiv="refresh" content="0;URL='http://www.ibpworld.com/ibp'"> <BODY> </BODY> </html>
WebCenter all versions