How to modify the document root for an addon domain in cPanel?

Created by Ankit Suryawanshi, Modified on Wed, 13 Sep, 2023 at 11:18 PM by Ankit Suryawanshi

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.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article