File Manager is a web-based file browser that lets you manage your website files directly from cPanel without needing FTP software.
Accessing File Manager
- Log into cPanel
- Go to Files section
- Click File Manager
Understanding the Directory Structure
| Directory | Purpose |
|---|---|
public_html |
Your main website root (files here are publicly accessible) |
public_html/subdomain |
Subdomain document roots |
mail |
Email storage (do not modify) |
logs |
Access and error logs |
ssl |
SSL certificate files |
tmp |
Temporary files |
Uploading Files
- Navigate to the destination folder (usually
public_html) - Click Upload in the toolbar
- Drag and drop files or click Select File
- Wait for upload to complete
- Click Go Back to return to File Manager
Tip: For large files or many files, use FTP instead for faster uploads.
Creating Files and Folders
New Folder
- Click + Folder in the toolbar
- Enter folder name
- Click Create New Folder
New File
- Click + File in the toolbar
- Enter filename (including extension, e.g.,
config.php) - Click Create New File
Editing Files
- Right-click the file (or select and use toolbar)
- Choose Edit or Code Editor
- Make your changes
- Click Save Changes
Code Editor provides syntax highlighting for PHP, HTML, CSS, and JavaScript.
Extracting ZIP Files
- Upload your .zip file
- Right-click the ZIP file
- Select Extract
- Choose destination folder
- Click Extract Files
Compressing Files
- Select files/folders to compress
- Click Compress in the toolbar
- Choose compression type (Zip recommended)
- Enter archive name
- Click Compress Files
Changing Permissions
- Right-click the file or folder
- Select Change Permissions
- Set permissions using checkboxes or enter numeric value
- Click Change Permissions
Common permissions: Files: 644, Folders: 755, wp-config.php: 600
Showing Hidden Files
Files starting with a dot (like .htaccess) are hidden by default.
- Click Settings in the top right
- Check Show Hidden Files (dotfiles)
- Click Save