Tools Add
Rss Categories

What is the home directory? What is the path to it?

Author: Geek Support Reference Number: AA-00420 Created: 01/25/2011 08:43 AM Last Updated: 06/23/2018 09:01 AM

This article will explain the home directory and what the path is to the home directory for your account.

What is the home directory?

The home directory is the main directory for your website, including your "public_html" and "www" folders, among others.

You will put all files and folders that you want to associate with your public website in either the "public_html" or "www" folder. They are symbolically linked, so using either one is fine.

What is the path to the "home" directory?

The path to your "home" directory is:

  • /home/<username>

Replace <username> with your cPanel username in the example above. You can find your cPanel username in your account's welcome e-mail if you are an unlimited, performance, or reseller hosting customer.

If you are a VPS or dedicated server customer, replace <username> with the username of the cPanel account you create in WebHostManager (WHM).

What are these other folders I'm seeing in my home directory? Do I need them?

We recommend leaving the folders in your home directory in-place as they are used by different system services and for features such as website statistics. In particular, these folders are critical to the operation of different services on any cPanel account:

  • etc (email and FTP configuration)
  • logs (archived logs of your FTP and web traffic)
  • lscache (used by the web caching service - will be re-created if removed)
  • mail (email storage folder)
  • ssl (stores SSL information)
  • tmp (stores website stat reports)
Any folders beginning with a period should also be left in place as they store configuration settings relevant to various site services. If you have a question about any of these folders on your account, feel free to contact our support team for more information and advice.

Have any questions?

If you have any questions or need assistance, please contact Geek Support.

Please help us make Geek Knowledge better!

Your comments can help make Geek Knowledge better for everyone. Please take a few moments to comment on this article if you found it helpful or feel it needs improvement. Registration is not necessary.

  • There are no comments for this article.
Info Add Comment
Nickname: Your Email: Subject: Comment:
Enter the code below: