How can I change the file name extension of my index page?

It is possible to name your default index page something other than index.html, index.cgi, index.php, etc., by using a directive in a special configuration file in your webspace. That file is called '.htaccess' (a dot followed by 'htaccess'). The directive needed is
DirectoryIndex foo.html

That will make the default page (i.e., the file name that will be requested if there's no filename in the URL, www.domain.com/) 'foo.html'. The change will affect the directory the .htaccess file is placed in and all sub-directories.

  • 104 Users Found This Useful
Was this answer helpful?

Related Articles

How do I access the raw web access or error logs?

Simply log into your Fast Name Control Panel and click on 'Log File Download' in the 'Web Site...

What modules are installed on the server?

Simply log into your Fast Name Control Panel and select Web Diagnostics. Under that section you...

What is JavaScript?

JavaScript is a web scripting language used to make web pages more interactive by allowing pages...

What is Linux?

Linux is a UNIX-like operating system that was designed to provide personal computer users a free...

Does Fast-name support SSI (Server Side Includes)?

Yes we do. SSI (Server Side Includes) are tags that are placed in HTML pages, and evaluated on...