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 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

مقالات مربوطه

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

Web Site 101 - Creating and uploading your very first test page

You have just opened a web hosting account here at HostRocket. This is your first web hosting...

cPanel User Guide

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

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

How do I create my web site?

As far as creating your web site there are many web authoring programs and WYSIWYG (What You See...