What is an index page?

The index page is the URL or local file that automatically loads when a web browser starts and when the browser's 'home' button is pressed. The term is also used to refer to the front page, web server directory index, or main web page of a website of a group, company, organization, or individual.

Make sure you have the index page in your public html directory, otherwise, your site will not be shown in the browser correctly. When creating your index page, you should use one of the following names (the first one found will be shown if the visitor doesn't specify a page in the URL):

index.html
index.php

You may also specify which file name should be the home page of your website by editing the .htaccess file. You just need to add the following code to the .htaccess file:

DirectoryIndex required_file_name

'required_file_name' should be substituted with the existing file name. If you want to set up a list of these files, please separate them with space symbols.Clear your browser cache before visiting your website to see the changes.

NOTE:
 When adding files to your site, it is important that you add them in the right place. For example, you will need to place files you wish to be visible on the Internet within public_html or a subdirectory of public_html. If you place them in / for example, no one will be able to view them.

For more help on index page contact us.

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How to redirect HTTP traffic to HTTPS using an htaccess file

The below code when added to an htaccess file will automatically redirect any traffic destined...

How to check PHP version and configuration

Login to your cPanel Locate Software Tab and click PHP Version Select to increase or decrease...

MySQL Database Access Outside of cPanel

There is no way to grant permission to just MySQL or phpMyAdmin. You can have them access the...

Disk Space and Bandwidth Usage

Disk Space Usage Log in to your cPanel Navigate to the Files section on the cPanel. Click...

cPanel Email: How to Mass Delete Emails

By using webmail you can quickly remove email from an entire folder from your account or you can...