InMotion Hosting Support Center

cpanel subdomain folder outside of public_html

Category: Cpanel

2013-05-27 5:40 pm EST

Hits: 2,701
My server is a dedicated server with you guys. The main domain for the server is

I was wondering if you have any documentation for setting up cPanel subdomain outside of the root 'public_html'. I would liketo establish a couple of subdomains that I can use to push content live to the production level at 'public_html' and would prefer to stay outside of the production folder structure for that reason

You must login before you can ask a follow up question.

You must login before you can submit an answer.



19,794 Points
2013-05-27 6:24 pm EST
Hello billoconnor,

Thank you for your question. This article explains how to change the document root for an Addon Domain in cPanel, you can also modify a Subdomain with this method. Be sure to choose subdomains in Step 1.

If you have any further questions, feel free to post them below.
Thank you,


You must login before you can post a comment about this answer.

Like this Question?

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!