View Full Version : domain displays index of
jcjerabek
05-13-2008, 11:33 AM
domain displays index of rather than my home page. i have already labeled my page index.html and it's in the public_html folder. does it matter if i have the index.html file in a subfolder within the public_html folder?
Bob Barr
05-13-2008, 12:44 PM
Having multiple 'index.html' files in subdirectories certainly shouldn't affect how your 'public_html' directory works.
Does the index that's shown include your 'index.html' file in the list?
jcjerabek
05-13-2008, 12:46 PM
yea, if you go to the folder that contains it.
Early Out
05-13-2008, 02:11 PM
Your primary web page, called index.html, needs to be at the top level of public_html. If it's in a subdirectory of public_html, then only going to www.yourdomain.com/subdirectory would display it.
jcjerabek
05-13-2008, 02:23 PM
thanks. yea, i figured that out. also, i had to put my other pages directly in my public_html folder.
Bob Barr
05-13-2008, 02:33 PM
yea, if you go to the folder that contains it.
AFAIK, going to a folder with an 'index.html' file in it will display the page and not the index.
Sorry, I misunderstood your original question and assumed that you had your site's main 'index.html' file in your 'public_html' directory.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.