1. Knowledge Base
  2. >
  3. Results
  4. >
  5. What Is My Home Directory?

What Is My Home Directory?

A home directory is a unique directory designated for your usage. It may contain a variety of content including, scripts, symlinks, raw data, configuration files, and the publich_html folder. The home directory contains your cPanel username on the server.

On a Linux server with a single partition, the home directory is as follows:

/home/yourusername/

Please replace yourusername with your cPanel username.

Your cPanel account will be created on servers with multiple partitions in the partition with the most available space. In this case, your home directory will have a number included like in the following example:

/home4/yourusername/

In this example, both home and yourusername will need to be replaced with the correct values. To find your correct home directory:

  1. Log in to cPanel.
  2. Click the File Manager icon. 

    HostGator cPanel File Manager

  3. Your home directory path will be at the top of the file tree on the left-hand side of File Manager. In the example below, the home directory is /home4/snappy.

    HostGator cPanel Home Directory

Need additional assistance? Please contact us via phone or Live Chat so we can assist! HostGator's Support is here to help.