Customize Apache default success page

A customer contacted me today inquiring on how they can change the default Apache success page that they get when they type in their hostname.   After searching’s documentation, I came to realize that it’s not documented there, nor hardly anywhere else.

Luckily, this is a pretty easy process to do!

First, you’ll need to log into your server via root SSH.

Navigate to Apache’s default directory (99% of the time it’s called ‘htdocs’):

cd /usr/local/apache/htdocs

You’ll edit the page ‘index.html’ with your favorite text editor:
vi index.html

The options of pages placed in this directory are endless. You can even setup scripts, blogs, forums, and anything else you want there!

No Responses to “Customize Apache default success page”

Post a Comment