Click to See Complete Forum and Search --> : Directory Listing Problems


rockstar14
09-08-2008, 05:37 PM
When I go to my website [www.ostbia.ca] it does not go directly to a webpage, it goes to a directory listing. I was wondering how I can have it so that it goes directly to the home page. It comes up hoe the 'root' folder is set up on my computer; where I saved the site in different folders, that is how it comes up on the internet, with the directory listing and you having to click on links on the directory page to get to the main page. I was wondering how I could set up my folders or change settings on the webhost so that when you type in the address bar, it takes you directly to the homepage and not to the directory listing. NB: I use www.50megs.com as my webhost.

Coyotelab
09-09-2008, 02:10 PM
you gotta have your index.html or index.php (your homepage) at this location [www.ostbia.ca]

rockstar14
09-09-2008, 05:52 PM
How do I do that? I'm new at all the FTP and file uploading.


Thanks :)

rockstar14
09-15-2008, 03:49 PM
Can anyone else help me?

adman4054
09-15-2008, 06:50 PM
Rockstar--
You need to have an "index" or "default" page in your home directory. Normally, its setup with a .htm or .html extension, but it might also be setup to accept .php, .asp, or .aspx. Try this, in notepad or some other text editor type "test" save the file as index.htm and upload it to the server. when you pull up your site with just the domain, this test page should show up. Make sure you do not have an index file in your home directory or it will be overwritten

rockstar14
09-15-2008, 09:43 PM
So basically if the home page file was saved on my computer as: home_page

then I would put home_page.htm and it should work?

adman4054
09-15-2008, 10:05 PM
Name it index.htm (or .html), then change any links you have to your home_page.htm to the same name. That should work.