Website not redirecting to index.html

I’m helping a friend with his dreamhost account. I had a index.html in the root directory. It was automatically going to it when i did Now, when I go to, I get this.

You don’t have permission to access / on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

If I type in it works, but why’s it not working by just the .com?

I might be misunderstanding the problem, but I believe that what you need to do is move index.html and all other files (the linked files and what not) to

Is that what you were asking?

That’s where it is though… I can access it if i type in the index.html file as in But If I just go to, it won’t automatically load index.html

Check the capitalization of your index file. index.html is treated differently than (say) INDEX.HTML


Save $50 on DreamHost hosting using promo code “SAVEFIFTY” ( DreamHost Promo Code )

it’s index.html

can u post ur url?

You can try a different default page name that DH recognizes like: index.php, or you can add a default in your htaccess file:

DirectoryIndex filename.html

This would cause filename.html to be treated as your default page, or default directory page. You can also append other filenames to it. You may want to have certain directories use a script as a default page. That’s no problem too!

DirectoryIndex filename.html index.cgi default.htm

Which raises the possibility that it is a setting in the .htaccess file that is causing the original problem.

Do you have a .htaccess file in your root directory? Note that it is a hidden file, you may need to configure your FTP client to show such hidden files.


Save $50 on DreamHost hosting using promo code “SAVEFIFTY” ( DreamHost Promo Code )

I don’t have a .htaccess file there. I did accidentally upload a php uploader script to my root directory, but then I copied and pasted all of it’s information to another folder, so that could have affected it. But I don’t have a .htaccess or any file that it could have left behind.

I’d rather not post my url at this point, as I’m not the one running the site, but if I can’t get it to work in any way I will.

well, it may not work, but Tyy clearing out yourBrowser’s cache and loading the page again. You might also check it from an other computer as well.

We only ask for a url to help you with testing. Sometimes it’s easier to see werhe a problem is. I’m pretty sure no one here will try and hack your account. But just do whatever you’re comfortable with.


EDIT- Nevermind, I got it, thanks for the help. Apparently a .htaccess file in a different directory under my new uploader was doing it. I deleted it from there and then reuploaded it, and now the index loads fine. Kind of strange, but oh well, it works now.