This article will show you how to edit the secondary domain’s root folder within your Hosting account
If your Hosting account includes any secondary domains, you can change the root folder at any time.
Please note: this process applies to Web Hosting plans purchased after July 2020 and Premium Hosting plans purchased after August 2020 (cPanel)
Step 2 of 5
On your dashboard, select the cPanel Admin button that appears above Settings.
Step 3 of 5
Choose the option Addon Domains under the Domains section.
Step 4 of 5
Find the domain you wish to change in the Modify Addon Domain section. From there, select the pencil icon next to it.
Step 5 of 5
Amend the document root and make sure that it includes your home directory. Once done, click Change to finalise it.
The secondary domain name now displays the index file you uploaded to that folder.