The server automatically looks for only certain file names to display the first page of your site. The first page you want people to see can only have one of the following names (there can be NO capital letters in the file name):
index.html
index.htmÂ
home.htmÂ
home.htmlÂ
index.shtmlÂ
index.phpÂ
index.php4Â
index.php3Â
index.cgi
The server will look for those file names, in that order. In other words, it will first look for "index.html". If it doesn't find that, it will look for "index.htm", and so on, until it finds your page. Thus the first four are the most standard names for home pages.Â
Unlike this first page, the OTHER pages in your site may use capital letters if you so desire (although using all lowercase file names is a standard most professional site designers follow).
So if you name the first page in your site "Index.html" (using a capital "I"), or "mypage.html" (not on the list), or "index-home.html" (also not on the list), your site will NOT appear on the web, and instead you will see a "forbidden" error when you try to access your site.
- 20 Korisnici koji smatraju članak korisnim