My index page does not load - Why not?

My Index Page Does Not Load

 

If visitors go to your domain and the page does not load (or they see a directory listing instead of your homepage), the server cannot find a valid index file in your public_html folder.

 

Check Your Filename

The server looks for these filenames in this order: index.html, index.htm, index.php. If your main page has a different name (like home.html, default.htm, or Home.html), it will not be recognized as the default page. Rename it to index.html or index.php.

 

Check File Location

Make sure your index file is directly inside the public_html folder, not nested inside a subfolder. A common mistake is uploading a folder that contains your files, resulting in a path like public_html/mywebsite/index.html instead of public_html/index.html.

 

Check File Permissions

Your index file should have permissions set to 644. If permissions are wrong, the server may not be able to read the file. You can check and change permissions in cPanel File Manager by right-clicking the file and selecting Change Permissions.

 

Case Sensitivity

Linux servers are case-sensitive. Index.html is not the same as index.html. Make sure the filename is all lowercase.

  • 451 Users Found This Useful

Was this answer helpful?

Related Articles

When should I use ascii and when should I use binary?

ASCII vs Binary FTP Transfer Mode   When uploading files via FTP, you may need to choose...

Your connection to this server has been blocked at the firewall

Blocked by the Server Firewall   If you see the message "Your connection to this server has...

Common Search Engine Optimization Tips

Get other websites to link to you. Have your website linked and posted in socal media...

SSL - Creating a CSR in Windows 2003

Creating the CSR IIS Windows 2003 or 2000 Server: From Administrative Tools, run the Internet...

Set CORS header to Allow Access for any Incoming Domain

The following may be used to set to always set the CORS header for any incoming domains without...



Save 30% on web hosting - Use coupon code Hosting30