1. Home
  2. Knowledge Base
  3. cPanel
  4. Settings
  5. How to show my file as the default index page?

How to show my file as the default index page?

Step 1: Login to the cPanel.
Step 2: Select ‘File manage’ under “File” section.
Step 3: Open the .htaccess file or create a new file and named as .htaccess.
Step 4: Update the below code to change your default index file.

DirectoryIndex index.html index.htm default.htm index.php index.php3 index.phtml index.php5 index.shtml mwindex.phtml

Step 5: Click ‘Save changes’ to apply the settings.

Click here to view this article as Oryon knowledge base video tutorial playlist.

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support