What Is My Home Directory? | HostGator Support
  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 various content, including scripts, symlinks, raw data, configuration files, and the public_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:


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:


In this example, both home and yourusername must 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 is 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 chat so we can assist! HostGator's Support is here to help.