How do I edit my secondary domain’s root folder in my Hosting account?
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)
On your dashboard, select the cPanel Admin button that appears above Settings.
Choose the option Addon Domains under the Domains section.
Find the domain you wish to change in the Modify Addon Domain section. From there, select the pencil icon next to it.
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.