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 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Relaterede artikler

What should I do if there is a dispute about the ownership of the account?

Disputes over the ownership of accounts may sometimes arise between or among multiple persons,...

cPanel User Guide

The cPanel User documentation can be found here:cPanel DocumentationcPanel also has a YouTube...

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 clear my browser's cache?

Here is a good resource for how to clear your browser's cache, where you can find instructions...

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...