Directory and File Structure of your Single Domain Linux Hosting Package

Directory/Folder StructureTop

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

Directory

 Contents

/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 StructureTop

Shrishti Softech Solutions (P) Ltd's cPanel Single Domain 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:

index.html

index.htm

index.php

index.php3

index.php4

index.shtml

default.html

default.htm

default.php

home.html

home.htm

home.php

index.pl

home.pl

default.pl

ExamplesTop

 

  • 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/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.html file within the same folder, then the index.php file will get considered as the home page.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Accessing your Single Domain Linux Hosting Package

Contents [Hide] 1. Managing your Single Domain Linux Hosting package through your Control Panel...

Listing, Searching and Managing your Single Domain Linux Hosting Orders

Login to your Control Panel: For Resellers: 1 For Customers: 2 Next, click For Resellers:...

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

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

IMPORTANT: cPanel Single Domain Linux Hosting Package User Guide

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

Enabling SSL or a Dedicated IP Address for your Single Domain Linux Hosting Package

Note You may enable SSL for only that domain name, for which you have purchased your Single...