Server Administration & Management

How to customize Apache default Success page

How to change the default Apache success page (the one that you see when you just type in the hostname for example). Surprisingly (or maybe not) this is not documented anywhere on cpanel docs or forums. If you are faced with the same problem then you will be relieved to know that the solution is extremely simple. You just have to login to your server via ssh. Navigate to /usr/local/apache/htdocs

# /usr/local/apache/htdocs

And finaly edit the file index.html

# vi index.html

If you list the content of /usr/local/apache/htdocs you will see that you can also modify the content of other error pages that cpanel’s apache outputs.

January 28, 2011 Posted by | Apache | , | 1 Comment