The web root for your primary domain name is called as the public_html folder.The public_html folder comprises of all website files which you want to be displayed when someone types your main domain (the one provided while signing up for hosting).
Or in other words, when visitors type your domain name into their browser, whatever is in the public_html folder will get displayed to them.
Where To Find this Folder?
You can find the public_html folder inside your File Manager in your cPanel.
For example, if the file named as index.html is present in the public_html folder, it will get displayed when your website is browsed.
In case there isn’t a default file in the public_html folder (such as index.html, default.html, etc.), then a list of files in the public_html folder will be displayed.
- Note: Ensure to replace example.com with the primary domain on your account( the one that you had signed up with).
Addon Domains & Subdomains
It is possible to create Addon domains and Subdomains and these will be stored in the folder inside public_html.
Suppose you create an Addon domain named as addondomain.com. It will use a subfolder same as /public_html/addondomain.com/ (unless you specify any other).
Or if create a Subdomain named as cantech.abc.com, it will use a folder same as /public_html/cantech/ (unless you specify any other).
Suppose cantech.abc.com is defined as a subdomain, and addondomain.com is defined as an addon domain, then the following examples are applicable: