Web Hosting Talk







View Full Version : How to get rid of the "index of/" page?


Alethea
05-05-2005, 10:19 AM
Do I have to "park the domain"?
When I enter my site, which is yet under construction, a "index of/" page with all the files shows up.

What can I do?
Thanks in advance.

Tulip-Dennis
05-05-2005, 10:33 AM
Make sure your home page is named index.html and is placed in your public_html folder. (main directory).

Redcoat
05-05-2005, 10:38 AM
The index of/ page is displaying because you have no index file listed within the /public_html/ folder. This will cause all your other files to show in a list format.

To fix this just create a simple index.html saying something along the lines of
"You've reached the new home of sitename. Please check back soon"
and leave a contact e-mail for people who have questions.

IMeanWebHosting
05-05-2005, 10:42 AM
Or you can use an htt file that denies permission to the directory. Index.html would be easier though. :)

Alethea
05-05-2005, 10:49 AM
Thanks a lot.

error404
05-05-2005, 11:07 AM
.htaccess:

Options -Indexes