Home · Standard Web Hosting · Dedicated Web Hosting · Managed Name Servers · E-Mail Services
 
Home
/ Browse Categories / SmartWeb / Linux Services / Home Page Naming Conventions
Home Page Naming Conventions

When someone searches for your domain in a browser, the web server will automatically look in the public directory for an index file. It will search for specific files in this order: index.html, index.htm, index.shtml, index.php, and index.phtml. The server will return the first index file it finds, regardless of any other files you have. Therefore, it is best to keep only one index file in your public directory to avoid confusion.

If you want your home page to be titled differently from the above names, we recommend that you use the DirectoryIndex command in an .htaccess file. Alternatively, you can use a redirection script.



User Comments
Home Page Naming Conventions
Add Comment
There are no user comments for this topic.
Add Comment
Additional Info
General Information
Article No. 63
Created: 01:02 AM 04.16.04
Author: Support

Attachments
No attachments.

Did this help you?
Yes No

Statistics
Yes616 (48%) Voted Yes674 (52%) Voted NoNo

Other Options
Print Article
Email Article

Related Articles
Changing your Default Index with an .htaccess File
Working with CGI Scripts
Global Paths
Working with PHP

Copyright © 2013 myonlinehostingsupport.com