12 web design hours

Naming Files

Default files and the HTTP server

You should remember that your pages will probably reside on a Web server (also called an HTTP server). Usually, an HTTP server looks for a "default page," which is a specially named file. The server will present this page automatically every time a user enters the minimum amount of information required to connect to the site. For example, rather than having to enter the page address www.wmpany.com/index.html, a user need only enter www.cornpany.com. The server supplies the default page index.html automatically.

Default document names differ from server to server. Microsoft Internet Information Server (11s) looks for the default.htm file. Apache Web server looks for the index.htm1 file. You can change the name of the default document, but you should be aware that every HTTP server is preconfigured to a default document name. Following are some common default page names:

index.htm default.htm welcome.htm home.htm
index.html default.html welcome.html home.html
index.asp default.asp welcome.asp home.asp
index.jsp default.jsp welcome.jsp home.jsp

Consult the Web server documentation, your site administrator or your Internet Service

Provider (ISP) to ensure that your default file name functions properly on your Web server.