Changing the root for each add-on domain

2012-04-22 4:37 pm EST

Hits: 552
I'm trying to figure out how you can change the root for each add-on domain to be at the same level as the primary public_html. To keep visitors from being able to get to my add on domain from my primary domain.

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

You must login before you can submit an answer.

Best answer chosen by User


Tim S.
9,967 Points
2012-04-23 8:04 am EST
Hi albatross,

Thanks for posting your question. I'm more than happy to assist you. You can specify the root folder when you set up the add-on domain in cpanel. Just change the path by removing the /public_html out of the path. This will place the folder at the same level as the public_html folder.

While I've never done this for an add-on domain this is how I set up my subdomains and it works fine.

If you need further assistance please feel free to contact us.


Tim S

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

Like this Question?

Support Center Login

Social Media Login

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a 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!