Index of/


#1

I originally signed on with Dreamhost and took myname.com as the free web domain. I then typed out a few things to get started on myname.com using Nvu, added a couple of gifs and voila… I get "Index of / " at mymname.com. Listed on this index page are the gif files and the file myname.html.
Where did I go wrong? File management? Naming files? Naming directories? Publishing settings on Nvu?
I also transferred 3 other domains I own but have not yet developed to Dreamhost. I want to keep them all seperate but don’t understand the big picture. Is this done at the directory level? Sub-directory? Please help. Figuring this out is sucking up huge blocks of time I don’t have not to mention destroying my self-image as a reasonably intelligent person.


#2

Rename myname.html to index.html.

Your websites will each be under different directories with your user (assuming you’ve assigned them all to one user, which should be fine).

emufarmers.com
Very little to do with either emus or farmers!


#3

You must always include an ‘index.html’ (or index.htm, index.php) file in every web directory, or you’ll get a directory listing. If you want to disable that feature, you can easily create an .htaccess file to do it for you :wink:

To do that, you can check out a couple documents in the wiki:
http://wiki.dreamhost.com/Modifying_directory_indexes
http://wiki.dreamhost.com/KB_/Unix/_.htaccess_files


#4

Thanks. Renaming file to “index.html” worked for myname.com. Now, what about otherwebsite.com? I must be missing something in the file management realm.
In each directory(which should equal each domain name) there needs to be a file named “index.html”. ?


#5

If you visit yourdomain.com through a browser basically it will take you to “yourdomain.com/index.html” (or index.htm,index.php…). The same way if you browse “yourdomain.com/subdirectory” then it will show you “yourdomain.com/subdirectory/index.html”. That means if you wanna browse any directory(of any website) through a browser the directory must have a index.html or similar file to show your desired page. Again if the directory don’t have any index.html file and have other documents(.mp3,.doc…) you’ll get a list of all documents and also subdirectories of that directory. This option can be disabled too.

Promo code:[color=#CC0000]MAXDH=$97off[/color]
6D7=7domain+$7#UIP67=1 IP+$67#2XDS=200%disk