How to upload your website with cPanel File Manager (and FTP)
This guide shows you how to upload your website files to your hosting using the cPanel File Manager, how to edit, rename and change the permissions of files, and how to upload with an FTP program. The numbers on the pictures match the steps.
public_html folder. Files outside it are not visible on the internet.1) Open File Manager
In cPanel, go to the Files section and click File Manager (1).
2) Go to public_html and upload
Open the public_html folder (1) from the list on the left. Click Upload (2) to upload files. You can also create a new empty file with + File (3) or a new folder with + Folder (4).
3) Choose the files from your computer
The upload page opens in a new tab. Click Select File (1) or drag your files into the page. Wait until each file shows 100%, then click Go Back to "/home/user/public_html" (2).
.zip file is much faster than hundreds of small files. After uploading, select the ZIP file and click Extract, then delete the ZIP.4) Edit, rename and permissions
Click a file once to select it (1). Then use the toolbar: Edit (2) opens the file in a text editor, Rename (3) changes its name, Permissions (4) changes its access rights, and Compress (5) makes a ZIP of the selected files.
Correct permissions are usually 644 for files and 755 for folders. Never use 777: it is a security risk and the server may refuse to run the file.
Uploading with FTP (FileZilla)
For big websites an FTP program such as FileZilla is easier. Use these settings:
| Setting | Value |
|---|---|
| Host | ftp.yourdomain.com (or the server name from your welcome email) |
| Username / Password | your cPanel username and password |
| Port | 21 (choose "Require explicit FTP over TLS") |
After connecting, open public_html on the right side and drag your files from the left side.
Common problems
- You uploaded the files but still see the old page → make sure the main page is called
index.htmlorindex.phpand is directly insidepublic_html, not inside a sub-folder. Clear your browser cache. - Upload stops at a large file → upload a ZIP and extract it, or use FTP.
- 500 error after uploading → check the permissions and the
.htaccessfile. See How to fix a 500 Internal Server Error. - You do not see .htaccess → click Settings at the top right of File Manager and tick Show Hidden Files (dotfiles).
Frequently asked questions
Can I restore a file I deleted?
Deleted files go to the trash first. Click View Trash and Restore. If you emptied the trash, use your backups: see How to back up and restore your website.
Where do I upload a website for a subdomain?
Into the document root of the subdomain, shown on the Domains page, for example public_html/shop.
I use WordPress. Do I need File Manager?
Rarely. WordPress is installed from WP Toolkit and managed from its dashboard. See How to install WordPress.



