Knowledgebase

How do I set my default page using cPanel?

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
  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How can I access my raw log files?

They are located within your control panel. Login and click "Raw Access Logs" button. Also, you...

How do I add a parked domain?

You can set up a domain name that you own to point to another domain name. This is known as...

How do I Create a Certificate Signing Request (CSR)?

Follow these instructions to generate a Private Key and CSR for your Web site.The first step is...

How do I create a PostgreSQL database?

Create A PostgreSQL Database Using The WizardStepsWhen the page loads, enter the name of your new...

How do I use phpMyAdmin?

phpMyAdmin is a web based database administration tool specifically for managing MySQL databases....