Current time: 04-17-2014, 12:13 PM Hello There, Guest! (LoginRegister)

Post Reply 
Index of/
04-29-2007, 03:42 PM
Post: #1
Index of/
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.
Find all posts by this user
Quote this message in a reply
04-29-2007, 04:07 PM
Post: #2
Index of/
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!
Visit this user's website Find all posts by this user
Quote this message in a reply
04-29-2007, 04:07 PM
Post: #3
Index of/
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
Visit this user's website Find all posts by this user
Quote this message in a reply
04-29-2007, 05:02 PM
Post: #4
Index of/
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". ?
Find all posts by this user
Quote this message in a reply
04-29-2007, 05:21 PM
Post: #5
Index of/
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:MAXDH=$97off
6D7=7domain+$7#UIP67=1 IP+$67#2XDS=200%disk
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: