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 Bu dökümanı faydalı bulan kullanıcılar:
Bu cevap yeterince yardımcı oldu mu?

İlgili diğer dökümanlar

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

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

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

How do I transfer ownership of my account to another party?

If all products, services, domain registrations, etc. are to be transferred from one party to...

How do I upload the files which make up my website?

To upload the files which make up your web site to your HostRocket account you will need to use...