Explain why does the main page of all websites be named index.html?

Ashley

New member
I have to answer this question and I am unaware of the answer, the question reads;
Explain why the main page of all web sites should be named index.html?

anyone no??

thanks. :D
 
Hmm, Apache and IIS are engines on which a site is run off of, simply what controls what is being sent and received. Both Microsoft's IIS and Apache default to index.html, index.php, index.asp, index.aspx, etc as meaning that this is the one page you can find a way to get to the other pages within a website.

A webmaster could set this to be different if they wish, but most don't as it could cause compatibility problems if something is upgraded, and may cause issues with the end user (The one accessing the website).
 
Each folder may have one and only one "index.html" file to serve as the opening page of that folder. its in the server config that the starting document to be display first is always index.html
 
Back
Top