Hello
A website visitor types in
www.mydomain.com/somefile.html, the webserver is handed the request, and it uses the
www.mydomain.com portion to determine which specific "site" it should access (remember, a given webserver will have many many websites, this portion of the URL not only locates the correct physical server, but then also which website on that server). Once it locates the
www.mydomain.com website, it looks for a file called "somefile.html" and sends that back to the website vistor to display in their browser.
* And I then refresh my browser which was pointed at
www.mydomain.com, suddently, the default.html would be loaded... because that's the first file the webserver finds when searching in order for default documents.
* Another important example.... Let's say my website has the following list of default documents:
o index.html
o index.htm
o default.html
o default.htm
o default.asp
* And let's say I have these actual files on my website:
o index.asp
o contact.asp
o services.asp
o products.asp
* When someone visits
www.mydomain.com, which file will they be served?
o ANSWER: nothing, they will get a 404: File Not Found error.
o WHY? Because the webserver looked in the directory for each of the default documents, and none of those were present... I designed my site to use "index.asp" as the default/home page, but I didn't update the default document list to search for index.asp. So, unless someone visits
www.mydomain.com/index.asp, they won't ever get my index.asp page (until I change the document list).
To find these settings in the control panel:
* log into the control panel
* click on your domain name
* then click on WebDirectories, "webdirectories" is basically Plesk's access to IIS's "virtual directories" settings
* when you click on the webdirectories icon, you are in the "root", note at the top, it says "Web Directory /". The "/"symbol signifies the "root" of the website.
* click the "preferences" icon (the preferences of the "root" directory)
* there you will find options for changing the default documents, and the order in which it looks for them