How To Redirect OES default Webpage to a different Website

  • 7006850
  • 15-Sep-2010
  • 27-Apr-2012

Environment

Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 2

Situation

Need to redirect the default web page for OES to a different website.  Entering the ipaddress or dnsname of an OES server in to a web browser goes to default web page but the desire is to have users redirected to a different web page.

Resolution

To redirect the default webpage for an OES Server use the following steps.

1. Create a file called index.html in the /srv/www/htdocs/ directory and put in the following:
 
<HEAD>
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourdomain.com">
</HEAD>

The above HTML redirect code will redirect visitors to another web page instantly. The content="0; may be changed to the number of seconds you want the browser to wait before redirecting.