Your website’s root directory contains all the content that is displayed when visitors enter your domain name into their web browser. For example, your index file must be present within your website’s root directory so that visitors can access your site.
The root directory for your primary domain name’s website is /public_html.
To find the root directory for your addon domain or subdomain names, you’ll need to follow the instructions listed below.
Please note: this process applies to Web Hosting plans purchased after July 2020 and Premium Hosting plans purchased after August 2020 (cPanel).
On your dashboard, select the cPanel Admin button that appears above Settings.
Choose the option Subdomains or Addon Domains under the Domains section.
The root directory will be displayed below Document Root in the Modify Addon Domain or Modify a Subdomain section.