This article guides you step by step on how to modify the document root for an addon domain in cPanel.
Step 1: Log in to cPanel
Step 2: Under Domains choose Domains.
Step 3: Double-click the Manage option under the Actions column beside the domain you want to modify. Here we are looking to modify the document root for example2.com.
Step 4: Type in the new folder you’d like to have that domain pull its files from, and click Update.
Note: This action changes where the web server searches for your files. It does not rearrange your files in any way.
You should now see a Success message in cPanel saying the document root has been updated on the upper right hand corner.
If you need any further help, feel free to open a ticket with us at https://customer.hivium.com