Index file naming conventions

By default our servers will look for (in order) a file by the name of index.htm, index.html, index.cgi, index.php, default.htm, default.html or home.htm in a given directory and will load the first file it finds as the directory's (or site's) index or "home" page.

If you upload a file named index.html to your public_html directory this page will automatically be set as the index for the site and this page will be loaded automatically when entering http://yourdomain into a web browser.

  • 4 användare blev hjälpta av detta svar
Hjälpte svaret dig?

Relaterade artiklar

Do I have to use www. in my web address (URL)?

No, you and your visitors can access your main page and all pages on your account either with or...

Where should I upload the files which make up my web site?

The public_html folder is your root web accessable directory so all files which you wish to have...

How do I contact the HostRocket support team if I need help?

Members of the HostRocket support team are on duty 24/7 to assist you with any problems you may...

How do I verify my account?

To verify any changes to the account, the following will be accepted: The 5 digit support pin...

I uploaded an Index.htm file to my account but it doesn't show up as the index. What's wrong?

The problem here is one of cAsE sEnSiTiViTy. UNIX is fussy about the use of UPPER/lower case and...