This article explains how to access and configure the cPanel File Manager to manage permissions, upload files, create folders, edit HTML, and work with hidden files like .htaccess.
What is it used for?
The File Manager allows you to manage your hosting content directly from your browser, functioning similarly to your computer's file explorer.
You can:
- Create, delete, upload, download, move, and compress files and folders.
- Edit HTML, PHP, and text files.
- Configure file and directory permissions.
- Access hidden system files (dotfiles).
How to access
- Log in to cPanel from the client portal or at
https://yourdomain.com/cpanel. - In the Files section, click on File Manager.

Upon opening, cPanel takes you by default to the /home/USER directory (homedir).
Initial configuration
From the Settings menu (gear icon) you can adjust the manager's behavior:

- Home Directory: choose whether you want to go to the homedir,
public_html, or another folder when opening the tool. - Show Hidden Files (dotfiles): check this box to view files starting with a dot, such as
.htaccess, which are necessary for redirects, PHP permissions, and other configurations.

public_html Folder: This is the web root of your primary domain. Everything you upload there will be publicly accessible on the Internet. Your site's files must be inside this folder (or subfolders within it).
Interface: five sections

| No. | Section | Function |
|---|---|---|
| 1 | Directory Tree | Folder structure. Expand subdirectories with +. Click on a folder name to view its content. |
| 2 | Content Window | Lists files and subfolders with size, last modified date, and permissions. If it appears empty, the folder has no files or you do not have permission to view them. |
| 3 | Search | Locate files or folders by name. Choose the scope in the dropdown (current directory or all hosting). |
| 4 | Navigation Bar | Shows the path of the current directory (e.g., /public_html). |
| 5 | Toolbar | Actions: create folder/file, upload, download, delete, edit, permissions, compress, etc. |
Common actions
- Upload: toolbar → Upload → select files from your drive.
- Edit: right-click on a file → Edit or Code Edit.
- Permissions: right-click → Change Permissions (644 for files, 755 for folders in most cases).
- Compress / Extract: select files → Compress or Extract for .zip files.
Caution: Do not delete or modify system folders (mail, etc, tmp) or files you do not recognize. An incorrect change in .htaccess can leave the site inaccessible.
Frequent issues
- I cannot see
.htaccess: enable Show Hidden Files (dotfiles) in Settings. - I upload files but the site doesn't show them: verify they are in
public_html, not just in/home/USER. - I cannot upload large files: check the upload limit or use FTP for heavy files.
- 500 Error after editing a file: check syntax in
.htaccessor recently modified PHP files.
If you cannot access the File Manager, an action fails, or you need help locating a folder, open a ticket from the client portal or consult via the site's online chat.
