hamza shaikh5,875 Points
why is it important that we name the main file index.html ?
will it not work the same if i name it something else
Steven Parker176,778 Points
When a connection is made to a web site without specifying a specific file in the URL, most servers return a default page. This page is known as the "landing page" and most servers will provide by default a file named "index.html" Thus, a connection made to "http://mysite.com" turns into "http://mysite.com/index.html".
Generally, a server can be configured to use a different file file as a landing page if desired, but "index.html" is the most common and typically the name used unless the developer or administrator has a reason to configure the server otherwise.