Open File Manager
Log in to cPanel through your client area or atyourdomain.com/cpanel. Go to Files and click File Manager.
By default, File Manager opens in your home directory. To change this, click Settings in the top-right corner and choose a default folder (home directory, web root, or a specific domain’s document root). You can also enable Show Hidden Files (dotfiles) here to see files like .htaccess.
Navigate files and folders
The left sidebar shows your directory tree. Click a folder to view its contents in the main panel. Key directories:| Directory | Purpose |
|---|---|
public_html | Your website’s root folder. Files here are publicly accessible |
mail | Email data for your domains |
tmp | Temporary files |
logs | Access and error logs |
public_html, or the current directory.
Upload files
Navigate to the target folder
Open the folder where you want to upload files (usually
public_html or a subfolder inside it).You cannot upload folders directly. To upload a folder, compress it into a
.zip file first, upload the archive, then extract it in File Manager.Edit files
Select a file and click Edit in the toolbar. The code editor supports syntax highlighting and lets you make quick changes to configuration files, HTML, PHP, and other text files.Set file and folder permissions
Standard permissions for most hosting setups:
| Type | Permission |
|---|---|
| Directories | 755 |
| Files | 644 |
wp-config.php (WordPress) | 600 or 640 |
Compress and extract archives
To compress files or folders, select them and click Compress in the toolbar. Choose a format (Zip, Gz, or Bz2) and a destination path. This is useful for creating backups or preparing files for download. To extract an archive, select the.zip, .gz, or .bz2 file and click Extract. Choose where to extract the files and click Extract Files.
Create, rename, move, and delete
- Create — Click + File or + Folder in the toolbar, enter a name and path, then click Create.
- Rename — Click the item’s name directly to edit it inline, or select the item and click Rename.
- Move — Select one or more items and click Move. Enter the destination path.
- Copy — Select items and click Copy. Enter the destination path. You cannot copy an item to the same folder it’s already in.
- Delete — Select items and click Delete. Deleted items go to the Trash folder. Click Empty Trash to permanently remove them, or View Trash to restore them.