Previous Home Next
     
The "Default" File
 
  As its name indicates, a default file is the file that a browser will display by default if no page is named in the web address. 

In the address:  http://www.nytimes.com
notice that there is no file name listed, only the server name.  You can determine if a file name is listed if a three letter extension follows the name.  NOTE:  ".com", ".org", and  ".edu" are not file extensions, but rather web server identifiers.

When no file name is listed, the browser searches for the default file - the name of the default file can be one of several choices:

default.htm
default.html
default.asp
index.htm
index.html
 

Note: When you design web sites, make sure that the page that you want viewers to see FIRST, often known as the HOME page, is named one of the names listed above.
 
Note: Each folder on your website can have its own DEFAULT file. 
 
  Note: If a filename is not listed in a web address and no default file exists on the web server, the viewer will get an error message in the browser.

 

Previous Home Next