InMotion Hosting Support Center

Folders for main domain and addon domains

2012-05-01 4:20 am EST

Hits: 1,734
I'm confused about how add-on domains work.

I've got multiple websites and want to move them over one at a time. Lets call them and

My main account is and it now works fine. I put the relevant files in public_html and they show up when I go to

But if I create an add-on domain for it creates a folder inside public_html called Now if I go to I see the new second domain. This is not desired.

Also if I move say 5 more domains over, I have to dig through all of the Wordpress files and look for specific folders named after my secondary domains, rather than having a clean location that lists folders for each domain only.

Am I missing something or is this the way it is suppose to work?

I expected and would kind of like to have a file structure more like this:


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

You must login before you can submit an answer.



1,344 Points
2012-05-01 9:26 am EST
Hi ron_davis,

I'm sorry you're having trouble with the <a href="">document root structure</a> for your main domain and your Addon domains. The default behavior on the server is that public_html is the document root. Your main domain's files reside just inside public_html, with Addon domains each having a subfolder inside public_html.

First, to clarify how you view your Addon domain sites. While yes you can view those sites by going to, you do not have to do that to see your Addon domain. Simply go to in your browser and you will see your Addon domain site.

If you would prefer to have your main domain in a subfolder of public_html to keep things organized, you can do this in a couple of ways. Because WordPress allows you to run it from a subfolder, you can simply set up your main domain's WordPress installation to run from a subfolder. Alternatively, you can request a document root change for your main domain and place your WordPress files in that new document root folder for your main domain.

Please feel free to either update your question or add a comment below with which option you prefer. I'll be happy advise how to make either one of these changes.


Christi N.

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

Like this Question?

Support Center Login

Social Media Login

Social Login Joomla

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!