How-tocPanel
How to use the cPanel File Manager
- Reading time
- 5 min
- Last updated
- 25 Sep 2026
The File Manager is cPanel's file browser. It is the quickest way to upload a site, unzip an archive, edit .htaccess or fix a permission, without installing an FTP program.
-
01
Open File Manager and find public_html
In cPanel, go to Files → File Manager. Your main domain's website lives in
public_html. Addon domains and subdomains usually have folders of their own; the Domains page shows each one's document root. -
02
Upload your files
Open the folder the files belong in and click Upload, then drag the files in or use Select File. For a whole website, upload one
.ziprather than hundreds of loose files: it is faster, and nothing gets missed.For very large files, use an FTP app instead. A browser upload that drops halfway starts again from zero.
-
03
Extract the archive
Select the
.zipand click Extract in the toolbar, or right-click it and choose Extract. Confirm the folder and wait for the list of extracted files. Then delete the archive.If the files landed inside an extra folder, such as
public_html/mysite/, open it, select everything and use Move to bring the files up intopublic_html. -
04
Show hidden files to edit .htaccess
Files whose names start with a dot are hidden by default. Click Settings at the top right, tick Show Hidden Files (dotfiles) and save.
.htaccessnow appears; right-click it and choose Edit. The editor opens files under 1 MB.Copy the file before editing it. One wrong line in
.htaccesstakes the whole site down with a 500 error, and the copy is your way back. -
05
Set safe permissions
Select a file or folder and click Permissions. Use
644for files and755for folders. A file holding passwords, such aswp-config.php, can be tightened to600.Never use
777. It lets anything on the server rewrite the file, and a folder the site must write to only needs755.
Getting back something you deleted
Deleted files go to the trash unless you ticked Skip the trash and permanently delete the files. Click View Trash, select the file and click Restore. Empty the trash now and then, because it counts towards your disk space.
For anything older, or deleted with the trash skipped, restore it from the daily backups in JetBackup.
When an FTP app is the better tool
Use FTP for large uploads, for thousands of files, or to keep a copy on your computer in step with the server. Create a login under Files → FTP Accounts; that page lists the server name and port for apps such as FileZilla or WinSCP. Choose FTP over TLS in the app where it offers it, so your password is not sent in the clear.
Common questions
→Read next
→Hosting for this
Plans that fit what you just read.
Every plan includes free SSL, free managed migration and a GST invoice.
→Get started
Hosting that does this for you.
Free managed migration, free SSL, and engineers who answer in under two minutes.