fluffels
02-23-2008, 05:10 PM
So I've just been setting up my first dedicated server, and have realised I want to be able to ensure that the default cPanel/WHM page (see attachment for what I mean) comes up when I point a new domain at one of the IPs...
Is there any way whatsoever to stop this from displaying? Is there any way I can replace it with a simple html/php file?
Ta :)
Patrick
02-23-2008, 05:12 PM
Is there any way whatsoever to stop this from displaying? Is there any way I can replace it with a simple html/php file?
You can replace it with anything you'd like by modifying the index files located under: /usr/local/apache/htdocs
RossMAN
02-23-2008, 06:59 PM
You can replace it with anything you'd like by modifying the index files located under: /usr/local/apache/htdocs
Thank you for the information, I've always wondered how to replace that ugly standard page.
Vinayak_Sharma
02-23-2008, 07:25 PM
Won't that file will get replaced once cPanel updates?
Sam Robertson
02-23-2008, 07:35 PM
Won't that file will get replaced once cPanel updates?
http://www.cpanel.net/support/docs/ea/ea3/faq_ea3.html#n7 :)
Shaw Networks
02-23-2008, 07:48 PM
http://www.cpanel.net/support/docs/ea/ea3/faq_ea3.html#n7 :)
I wouldn't trust cPanel updates not to overwrite anything on my server. Whenever we update, I always have another technician on hand in case stuff explodes :P
Set your updates to manual and downgrade the file persmissions on /usr/local/apache/htdocs files. That's the only sure fire way to ensure cPanel doesn't take an axe to your custom default Apache pages.