Recently we was asked by a VPS customer how to change the default
Apache
success page (the page that you see when you just type the hostname or
its IP). Surprisingly (or maybe not) this is not documented
anywhere.
If you are faced with the same issue 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
cd /usr/local/apache/htdocs
And finaly edit the file index.html
nano or pico 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.
That’s it !
If you run into any problems don’t hesitate to leave a comment.