InMotion Hosting Support Center
In this article we'll discuss how to modify the document root one of your addon domains in cPanel. If you've read our previous article about adding an addon domain in cPanel, you should know how to create an addon domain.
However if you accidentally pointed that addon domain to an incorrect folder, or simply changed your mind on where you'd like that domain to pull its files from, you can modify this quite easily in cPanel using the steps below:
  1. Under the Domains section click on Addon Domains.
  2. Double-click on the pencil icon under the Document Root column beside the domain you'd like to modify.
  3. Type in the new folder you'd like to have that domain pull its files from, and click Change.
  4. You should now see a pop-up in cPanel saying it's updating the document root.
  5. After it's updated in the pop-up, click on OK.
  6. You should now see the folder you had typed in updated as that site's document root.

Now you should be able to view your website, and the files should be getting pulled from the new folder you've set in cPanel as the new document root.

If you missed our previous article, please see the Wildcard Subdomains and DNS tutorial. For more information on this course please visit Managing your Domains in cPanel

Was this article helpful?
Continued Education in Course 203: Managing your Domains in cPanel
You are viewing Section 9: Modify an Add-on domain's document root in cPanel
Section 10: Using the Zone Editor in cPanel

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

42,946 Points
2018-01-22 11:36 am
Even before you change the document root for a domain you should have access to the files in order to edit your site. It may depend on how you have built your site, but if you have access to the server where the website files exist, then you should generally have access to edit the website.
n/a Points
2018-01-20 12:17 pm

So after i do this i should be able to edit my webpage on my add on domain.

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

2 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!