Directory and File Structure of your Multi Domain Windows Hosting Package

Directory/Folder Structure

From amongst the several directories found within your Multi Domain Windows Hosting package, only the following are important:

Directory Contents
/httpdocs Contains all files that are part of the website. Any file and folder inside this directory is visible over the Internet unless you password protect it. 1

/error_docs When visitors come to your site and request pages that the web server cannot find, the web server generates and displays a standard HTML page with an error message. The standard error messages may inform of problems but they do not usually say how to resolve them. You may want to create your own error pages and upload them in this directory. 2

File Structure

Site Kreation's Plesk Multi Domain Windows Hosting servers will check for the existence of one of the below files and based on the order specified below, display it's content as the Home Page, when anyone tries to list the content of any folder/directory:

  1. index.html

  2. index.htm

  3. index.cfm

  4. index.shtml

  5. index.shtm

  6. index.stm

  7. index.php

  8. index.php3

  9. index.asp

  10. index.aspx

  11. default.htm

  12. default.asp

  13. default.aspx

Examples

  • If you were to upload a file index.html within the httpdocs folder of your website somedomain.com, then when someone tries to reach either somedomain.com or www.somedomain.com, then they would be automatically displayed the content of the index.html file. This happens since our server treats the index.html as the home page or default page for this directory.

  • Similarly, if you were to upload an index.html file within the /httpdocs/plants folder, then when someone types somedomain.com/plants or www.somedomain.com/plants, then they would be automatically displayed the content of the index.html file within the plants folder.

  • Now, if you were to upload two or more files from amongst the list given above, then the one mentioned higher in the order would be considered as the home page. So in the event that there exists an index.php and default.htm file within the same folder, then the index.php file will get considered as the home page.

  1. 1. Restricting Access to Content on Page 91 of the Plesk Panel Guide
  2. 2. Setting Up Custom Error Pages on Windows Servers on Page 107 of the Plesk Panel Guide