UnixServerAdmin

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.

Advertisements

January 28, 2011 - Posted by | Apache | ,

1 Comment »

  1. Thanks for making the effort to line this all out for all of us. This kind of write-up has been quite helpful to me.

    Comment by Keila Wyllie | June 15, 2011 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: