Default Document Types

In order to for visitors to view your website using it's URL, eg. http://www.yourdomain.com, you must upload your primary file. This file is referred to as the default document. A basic default document formatted in html would be named either index.html or default.html. Other extensions that are supported by the server can also be used. For example: .htm, .html, .asp, .aspx, .shtm, .shtml, .cfm, & .php, are all valid extensions for the default document.

If you receive an error when you type your domain into the address field of browser or see a blank page, chances are good that you do not have an index.* or default.* page uploaded to the server. To create an index file, name the primary page you want displayed as index.html or default.html.

Default documents can be used in any directory within your website. For example, the URL: http://www.domain.com/directory/index.html can be shortened to just htp://www.domain.com/directory

We highly recommend that you only have one default document in a single directory, as having multiple index files may cause unexpected results when viewing your website. Default documents take precident over each other in the following order:

default.htm
default.html
default.shtml
default.asp
default.aspx
default.cfm
default.php
index.htm
index.html
index.shtml
index.asp
index.aspx
index.cfm
index.php

<< Back

 
 
 
Copyright © 2004 Creative Brain   || Home | Digital Photo Album | Online Store | Template Depot | Career | Help & Support | Contact Us