After uploading your files, in rare situations you'll see a page like this on your homepage:


The other variation is if you see no pages listed at all, only a cgi-bin folder.  This can be caused by a few different things:

Why does my site say Index of and list my files?
  • The files you uploaded did not include an index page. When your website is visited, our servers look for an index page to display first. The most popular index pages are index.html, index.htm, and index.php.  If the server finds no index, it'll show a list of all the files on your site.  The easiest solution is to upload an index file onto your account.

    WebHostingHub servers are Linux based, and as such are case-sensitive. the index.htm, index.htm, or index.php file name must be in all lowercase in order to be found.

  • The files were not uploaded to the correct folder.  This is if you see no files at all listed.  Check your method of uploading the files and ensure you are uploading to the public_html folder. For your primary domain, the files must be located directly in the public_html folder to display.
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?


2013-01-09 11:37 pm
Must be index.htm, etc., all lowercase.
Cannot be index.HTM, etc.
16,266 Points
2013-01-10 10:00 am
Hello spartina,

You are correct. Thank you for pointing that out!

I have edited the article to mention that.

Best Regards,
Scott M
n/a Points
2016-02-18 5:24 pm

can i create the index.php file and just put it in the folder?

12,011 Points
2016-02-18 5:42 pm
Hello stergios,

Thank you for contacting us. Yes, you can create the index.php file if you want.

Thank you,
n/a Points
2016-11-06 3:00 pm
After days of trying to sort out why I was getting the index page on my newly published site, and the best way to ask google how to help me your site was at the top of the list so I tried it first as I had nothing to loose. After reading the first 2 paragraphs and spelling everything right I looked at the spelling of my index page and it was a capital I and when I changed it BAMM I was up and running. Thank you so much for that bit of information that sorted me out it is very much appreciated.

I will be adding your page to my favorites and use it first for any problems I may have.

Thank you again you have made me the happiest girl in the world today.
n/a Points
2017-02-24 9:19 pm

thanks alot


n/a Points
2017-09-13 4:38 pm

All of a sudden, my site http://www.sha******* is displaying just the Index page. I don't know what I did wrong, but I am using an unfamiliar computer because my main one crashed. I've had to reconfigure everything and republish from MS Expressions 4 and I don't know what I'm doing. HELP!

12,011 Points
2017-09-14 9:03 am
When I test your site, it seems to be functioning successfully. Are you still experiencing issues at this time?

Thank you,
n/a Points
2017-09-23 1:56 pm

I am having challenges with my site www.********.com and for some reason can't seem to get to the bottom of the matter even after asking Support (BlueHost). I will be most grateful if you can assist me

12,011 Points
2017-09-25 2:16 pm
Sorry to hear about your troubles. When I test your site, it seems to be working at this time. Are you still experiencing issues?

Thank you,
n/a Points
2017-10-14 6:10 pm
just a greate site
n/a Points
2017-11-06 1:37 am

Create an index.php file in the root folder of your website and add this code to the file:



 * Front to the WordPress application. This file doesn't do anything, but loads

 * wp-blog-header.php which does and tells WordPress to load the theme.


 * @package WordPress




 * Tells WordPress to load the WordPress theme and output it.


 * @var bool


define('WP_USE_THEMES', true);


/** Loads the WordPress Environment and Template */

require( dirname( __FILE__ ) . '/wp-blog-header.php' );


then save, refresh your site and all will be well.


n/a Points
2018-03-11 3:20 pm

main domain neither display files nor the websiteonly index of empty

2018-03-12 10:53 am
A blank index of means there are no files in the webroot of the server your domain is pointed to. I would ensure your files are in the correct place and your domain is pointed to the correct server.

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.