Wednesday, January 19, 2011

Cpanel Default Web Page

When you setup a new cpanel server and want to test the apche service then you try to call the IP address like http://74.xxx.xx.xx. to see if its working.
You will see the default webpage defaultwebpage.cgi. This is the standard system on cpanel.

The defaultwebpage.cgi actualy is the result of redirection of index.html in /usr/local/apache/htdocs/index.html. The defaultwebpage.cgi itself is placed in /usr/local/cpanel/cgi-sys/defaultwebpage.cgi.

To modify this defaultwebpage, try this 2 simple options:
1. Edit /usr/local/apache/htdocs/index.html. and change the meta http redirection. Index.html consist this simple html script:
META HTTP-EQUIV="refresh" CONTENT="0;URL=/cgi-sys/defaultwebpage.cgi


You can change the value in URL=/cgi-sys/defaultwebpage.cgi to URL=/another/page.

2. Or you can edit /usr/local/apache/htdocs/index.html to what ever you like.

Wana try....?