In this article we'll discuss how to modify the document root of 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.
    addon-domains
  2. Double-click on the pencil icon under the Document Root column beside the domain you'd like to modify.
    double-click-edit
  3. Type in the new folder you'd like to have that domain pull its files from, and click Change.
    new-folder-name
  4. You should now see a pop-up in cPanel saying it's updating the document root.
    updating-document-root
  5. After it's updated in the pop-up, click on OK.
    document-root-updated
  6. You should now see the folder you had typed in updated as that site's document root.
    document-root-updated-done

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

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Like this Article?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

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

News / Announcements

WordPress wp-login.php brute force attack
Updated 2014-07-17 06:43 pm EST
Hits: 200919

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

Need more Help?

Search

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: support@InMotionHosting.com
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!