Updated: 30 November 2026 · Applies to: Ucartz cPanel and Virtualmin hosting, reseller accounts, KVM VPS and dedicated servers (Linux)
Your home directory is the top folder of your account on a Linux server. On our cPanel and Virtualmin hosting it is /home/USERNAME, where USERNAME is your hosting account username. Your website files, mailboxes, logs and account settings all sit inside it, and you cannot see or open other customers' home directories.
Find your home directory in cPanel
- Log in to cPanel.
- Look at the General Information panel on the right of the home screen.
- The Home Directory line shows the full path, for example
/home/USERNAME. On some servers it can be/home2/USERNAMEor similar, so always use the path cPanel shows.
In cPanel's File Manager, the home directory is the folder that opens first (shown as a house icon in the folder tree).
Find your home directory in Virtualmin
On Virtualmin hosting each website (virtual server) has its own home directory, also /home/USERNAME, where USERNAME is the administration username of that virtual server. In Virtualmin you can see it under Edit Virtual Server for your domain, and the file manager opens there.
What is inside the home directory
cPanel accounts:
public_html: your main website. Upload the site's files here.wwwis a shortcut to the same folder.mail: your mailboxes and their messages.logs: archived web access logs.etcand.cpanel: account and mail settings that cPanel manages. Do not edit or delete them by hand.tmp: temporary files, for example web statistics.
Virtualmin accounts:
public_html: the website's files.Maildir: mail for the account owner's own mailbox.homes: one folder for each extra mailbox or user you create, each with its ownMaildir.logs: the website's access and error logs.etc,tmpandcgi-bin: settings, temporary files and CGI scripts.
Check it from SSH or FTP
If your plan has SSH access, you start in your home directory when you log in. To print its full path, run:
echo $HOME
To list what is inside it, including hidden files that start with a dot:
ls -la ~
The ~ sign is a short way of writing your home directory, so cd ~ always takes you back there from any folder.
When you connect with an FTP client such as FileZilla using your main account login, you also land in your home directory. Open public_html before uploading website files, or the site will not show them. A guide for FileZilla: How to Download and Install FileZilla FTP Client on Windows.
Reseller accounts
With reseller hosting, every account you create for a client gets its own home directory, /home/CLIENTUSERNAME, separate from yours. Each client sees only their own home directory in cPanel, File Manager, FTP and SSH.
VPS and dedicated servers
On a KVM VPS or dedicated server you have full root access, so the layout depends on what you install:
- The
rootuser's home directory is/root. - Every normal Linux user you create gets
/home/USERNAMEby default. - If you install a control panel such as cPanel or Virtualmin, it creates a home directory under
/homefor each hosting account, as described above.
To see the home directory of any user on your server, run (replace USERNAME):
getent passwd USERNAME
The second to last field in the output is the home directory.
Common mistakes
- Uploading the website to the home directory itself instead of
public_html. Visitors then see a default page or an error. - Deleting hidden folders such as
.cpanel,etcorMaildir. This can break email or account settings. Turn on "show hidden files" before cleaning up so you can see what you are removing. - Using a path from another server or guide. Scripts that need a full path (for example a cron job) should use the exact path your control panel shows, or
$HOME.
Need help finding a file or fixing folder permissions? Open a ticket with our support team. To compare plans, see cPanel web hosting, Virtualmin web hosting and KVM VPS.