InMotion Hosting Support Center

Why are there two directories for our HTML files?

Category: File Management

Maria Magdalena
2011-10-28 11:22 pm EST

Hits: 11,571
My apologies as this is probably a very dumb question. Why are there two directories for our HTML files? There is a directory called "public_html" and one called "www" and it seems that you can use either one. I going to guess that the answer is just, "Because we thought it would be easier for you." I apologize but it is bothering me. (Is this what is called an alias?)

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
2011-10-31 6:35 am EST
Hi Maria,

Thanks for asking your question. I'm more than happy to help you today. You actual document root is the public_html directory. The "www" directory is merely there as an alias and displays the contents of the public_html folder. You'll notice if you put something in the public_html folder it will then display in the www folder as well.

I hope this helps! Let me know if you need further assistance or have any more questions.


Tim S

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!