If your website shows Index of instead of your website, the server has not found a homepage file in the folder it is loading.
Add a Homepage File
Upload your homepage file to the correct website folder.
For the main domain on a hosting account, this is usually:
public_html
Common homepage filenames include:
- index.html
- index.htm
- index.php
Check the Filename
Linux servers are case sensitive.
This means Index.html and index.html are different filenames.
Make sure the homepage file is named in lowercase.
Check the Correct Folder
If the domain is not your main domain, check the document root for that domain in cPanel.
The homepage file must be uploaded into that domain’s correct folder.
Disable Directory Listing
If you do not want visitors to see a directory listing when no homepage file exists, you can disable indexing in cPanel.
Use the directory privacy or indexes option in cPanel, or contact support if you are unsure.