• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

/index lists files but does not go to webpage only why?

nappy2063

Junior Member
I have a domain name from namecheap.com and im hosting the website on there dns but I dont seem to understand is ok I got the control panel thing and I uploaded the web page from that and jpeg file and I made webpage in microsoft expression web 4.0 it says when I go to my .com website INDEX / has a list of the files on my web site but all I want is my .com web site to go to my web page and jpeg picture I have on the webpage I dont want it to list the files I have its very annoying im new to this web site development thing any help would be appreciated thanks! fyi I have nibble blog software on the web site if I take that out and only have the .html web page and jpeg will that solve the problem? The files I have in my public_html folder is cgi-bin, nibble, openb, status, pc_world.png, website.htm.... The openb and nibble is blog software should I take those out so it only go's to my .htm webpage?
 
Did you actually create a file named index.htm (or .html)? What is the filename of the first page you want people to see when they hit the site?
 
If you just want to create and share some content, you might be better off with a wordpress.com blog -- the price starts at free, and you don't need to know anything about web servers.
 
You need to create a file with the name of the "default document" of your webserver.
For most webservers this is default.htm, default.html, index.html, or index.htm. You either need to rename your main file to one of these or change your web configuration to use website.htm as the default document.
 
Just to be clear, /index will look for a file named "index' but it will also look for an "index" folder with a (default-page-list) file in it, that is something like /index/index.htm or /index/index.php -- at least that is the default setting for apache when you give it a folder name as the URL. Or as you said it "route or file."

Printed ads have used that as simpler URLs, for example "go to www.foo.com/bigsale" where bigsale is a folder with an index.htm page in it.
 
Just to be clear, /index will look for a file named "index' but it will also look for an "index" folder with a (default-page-list) file in it, that is something like /index/index.htm or /index/index.php -- at least that is the default setting for apache when you give it a folder name as the URL. Or as you said it "route or file."

Printed ads have used that as simpler URLs, for example "go to www.foo.com/bigsale" where bigsale is a folder with an index.htm page in it.

Well technically I doubt there are too many sites these days using basic .htm files these days, and those subfolders are actually just used for URL rewriting, but at any rate....

https://www.namecheap.com/support/knowledgebase/article.aspx/183/22/what-is-an-index-page

OP said he's on NameCheap, there's their help about index pages.

Make sure you're in the right folder, and the default is index.html.
 
Back
Top