How to Change the "Great Success" Default Apache Welcome Page Print

  • 14

How do i get rid of the page that says Great Success ! Apache is working on your cPanel® and WHM™ Server?

Apache automatically directs all incoming requests that do not resolve in the DNS tables to a default Apache page that comes witht eh installation.  If you are like us, you want this page to have some instruction, or simply point to your company site so that the people that reach this page know at least how to start the process of fixing the problem.  There are two ways to change this page. 

The first way is to edit the Default Apache HTML page that is located on your server under


The second method is much more fun.  Again, you will need to have access to your Apache server configuration files (httd.conf) and will want to change the path for the default document root.  By default the document root is the above mentioned folder, and the index.html file is the "Great Success" message.  To make this change, you can be a maverick and edit the httpd.conf file, or you can be cautious and edit the VirtualHost include that is designed FOR these types of changes.  Of course, the older the installation of apache, the less organized - you be the judge.

Maverick Method Edit


Find the line that reads

<VirtualHost XX.XX.XX.XX:80> and <VirtualHost *>

Where XX is the IP address for your server and change the

DocumentRoot /usr/local/apache/htdocs

to read

DocumentRoot /home/{primary_user}/public_html

Where {primary_user} is the account id for the website you are going to setup as the default.  You can see an example here (the domain is pointing to the server, but there is no account on the server, so the domain resolves to our primary site)

The cautious method would be to add

<VirtualHost XX.XX.XX.XX:80>
    DocumentRoot /home/{primary_user}/public_html

<VirtualHost *>
    DocumentRoot /home/{primary_user}/public_html

To your "Pre VirtualHost Include" file that can be easily managed in the WHM / cPanel system under Apache Setup > Include Manager, maybe in Plesk under some menu somewhere, or by editing the file


But you have to figure out which "x" is the file that is being included in the httpd.conf - can be confusing or annoying. 

Fun, you just Learned That!

David Hunt
The Holodyn Corporation

Was this answer helpful?

« Back