Web Hosting Talk







View Full Version : How do I change the CPanel default page?


MTSpace at WHT
02-19-2005, 08:15 AM
Hi all,

I'm very new to cPanel, I've always used a server with Ensim, Plesk orWebmin in the past. How do I edit the pages that are shown when
1) Someone enters the server hostname
2) Someone enters dns1. or dns2. mydomain.com
3) Someone enters a domain which has the DNS setup but isn't setup in cPanel yet

I want to point all of these to one domain.

crucialx
02-19-2005, 10:51 AM
Edit: /usr/local/apache/htdocs/index.html

MTSpace at WHT
02-19-2005, 01:09 PM
Hi crucialx,

I will do that. I assume it's fine to delete the file and replace it with an index.php file?

Thanks

MTSpace at WHT
02-19-2005, 01:40 PM
Hi crucialx

Just uploaded an index.php file and removed the index.* files, thanks.

Website Rob
02-19-2005, 04:01 PM
Using a 'php' would not be good idea as the next time you update WHM it will add back their 'index.html' file. Best to stick with using the 'html' extension and use chattr +i index.html to prevent any changes.