InMotion Hosting Support Center

Add-on Domain on Root instead of public_html

Category: File Management

2012-10-15 1:55 pm EST

Hits: 4,152
I successfully installed an Add-on domain. When I set it up, I forgot to specify public_html/ and it was set up on the root. It seems to be working fine but I'd like to know if it's going to cause problems down the road. If so, I want to fix it now. If I need to change it, is there a way to move it or do I have to delete it and set it up again?

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

You must login before you can submit an answer.



5,889 Points
2012-10-15 2:09 pm EST
Thank you for your question zenzino!

The document root directory for Addon domains will be created in the public_html folder by default. This is also true for subdomains. You can Specify the document root directory to a different location; however, this is not critical. It really depends on how you want to manage your file directories. Having an addon domain in the public_html/ directory is perfectly normal and will not cause any problems in the future.

If for whatever reason you do not want the default location, you will need to remove the addon domain and recreate it to point it to the directory you wish to build the site in. Unfortunately, the addon domain and subdomains will have to be removed and recreated to do this.

To further add to this, If you don't want to have the addon domain folders mixed in with the main domain files/folders, the main domain document root can be changed so all your domains go to a subfolder. Please see the following link.

<a href="">How do I change the document root of my primary domain?</a>

Hope this helps. Best Regards

James R

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


40,748 Points
2012-10-15 2:10 pm EST
Hello Zenzino,

By default the ADD-ON domain is already in that location (public_html/add-ondomain), so it should be okay. Root is defined (by default) as public_html. Addon domains are always added to it. So, by definition, it should be okay and you shouldn't have any problem.

If you have any further questions, please contact technical support or leave a comment at the bottom of the page.


Arnel C.

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

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

Social Login Joomla

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!