Knowledgebase: Linux/Cpanel
How do I set my default page using cPanel?
Posted by Alpha Daramy on 30 May 2008 06:14 PM
In Linux you can use the .htaccess file to specify your default page. This file is located in your public_html folder. For example the following string will set index.html as default file:

DirectoryIndex index.html

And the following will set default.php as default file, and if it doesn't exist, index.html will be used:

DirectoryIndex default.php index.html
(155 vote(s))
Not helpful

Comments (0)