cPanel’s File Manager lets you work with your hosting files without needing FTP or SSH. You can upload, edit, move, and delete files directly from your browser.

Opening File Manager

  1. Log into cPanel (or go to ServicesMy ServicesLogin to cPanel in the client area)
  2. Under the Files section, click File Manager
  3. You’ll land in your home directory (/home/yourusername/)

Your website files live in public_html. That’s the document root: anything in there is publicly accessible via your domain.

Directory Structure

Here’s what the important directories do:

DirectoryPurpose
public_html/Your website’s document root. This is what visitors see
mail/Email data. Don’t touch this manually
logs/Access and error logs
tmp/Temporary files
ssl/SSL certificate files
.well-known/Used by Let’s Encrypt and other verification systems

Uploading Files

  1. Navigate to the directory where you want the file (usually public_html/)
  2. Click Upload in the toolbar
  3. Drag and drop files or click Select File
  4. Wait for the upload to finish, then click Go Back to File Manager

File size limit: cPanel File Manager handles files up to around 500 MB. For anything larger, use FTP or SSH instead.

Uploading a ZIP: Upload the archive first, then right-click it → Extract to unpack it on the server. This is much faster than uploading hundreds of individual files.

Editing Files

  1. Select the file
  2. Click Edit in the toolbar (or right-click → Edit)
  3. Choose your encoding (UTF-8 is almost always correct)
  4. Make your changes and click Save Changes

The built-in editor handles PHP, HTML, CSS, JavaScript, and plain text files. It has line numbers and basic syntax awareness but it’s not a full IDE. For heavy editing, work locally and upload.

Setting File Permissions

  1. Select the file or folder
  2. Click Permissions in the toolbar (or right-click → Change Permissions)
  3. Set the numeric permission value

Common permission values:

PermissionUse For
644Files (owner read/write, everyone else read-only)
755Directories and executable scripts
600Sensitive config files (like wp-config.php)
777Never use this. It makes everything writable by anyone

If your site shows a 403 Forbidden error, permissions are usually the first thing to check.

Working with .htaccess

The .htaccess file controls URL rewrites, redirects, and access rules for Apache/LiteSpeed. It’s hidden by default.

To see it:

  1. Click Settings (top right of File Manager)
  2. Check Show Hidden Files (dotfiles)
  3. Click Save

Now .htaccess will appear in public_html/.

Compressing and Extracting Files

To compress: Select files/folders → click Compress → choose ZIP format → name the archive.

To extract: Select the archive → click Extract → choose the destination directory.

Use this when moving sites or creating manual backups. Compressing before download is much faster than downloading individual files.

What to Do Next

Last updated 05 Apr 2026, 00:00 +0200. history

Was this page helpful?