Directory and File Structure of your Reseller Linux Hosting Package

Directory/Folder Structure

From amongst the several directories found within your Reseller Linux Hosting package, only the following are important:

DirectoryContents
/public_html 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.
/www is simply a link to the public_html directory.

File Structure

19jawebhosting's Reseller Linux 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.php

  4. index.php3

  5. index.php4

  6. index.shtml

  7. default.html

  8. default.htm

  9. default.php

  10. home.html

  11. home.htm

  12. home.php

  13. index.pl

  14. home.pl

  15. default.pl

Examples

  • If you were to upload a file index.html within the public_html 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 /public_html/tools folder, then when someone types somedomain.com/tools or www.somedomain.com/tools, then they would be automatically displayed the content of the index.html file within the tools 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.html file within the same folder, then the index.php file will get considered as the home page.

  • 127 Users Found This Useful
Was this answer helpful?

Related Articles

Switching PHP Version

cPanel Hosting 19jawebhosting supports PHP 5.3 and 5.4 on its cPanel Hosting Servers, with PHP...

Renewal Reminder for Reseller Linux Hosting Orders

19jawebhosting sends consolidated e-mails to its Customers informing them about their Reseller...

Locating the Name Servers or DNS Records to Use for your Reseller Linux Hosting Package

Login to your Control Panel, Search for the domain name for which you have purchased this...

Enabling SSL or Dedicated IP Address for your Reseller Linux Hosting Package

  Note You may enable SSL for every domain name hosted through your Reseller Linux Hosting...

cPanel Reseller Linux Hosting Package User Guide

The information listed below describes the various sections and buttons/features visible within...

Powered by WHMCompleteSolution