If you build a website by hand or receive it from a developer, you need to put its files on your hosting. cPanel gives you two simple ways: File Manager in the browser, and FTP from your computer.
Where do the files go?
The folder public_html is the web root of your main domain. Whatever is inside it is what visitors see at yourdomain.com. Your homepage file, usually index.html or index.php, must sit directly inside it, not inside another folder.
Upload with File Manager
- Log in to cPanel and open File Manager.
- Open the public_html folder.
- Click Upload and choose your files. For a whole site, upload one .zip file, which is much faster than many small files.
- Back in File Manager, select the zip file and click Extract.
- Delete the zip file when you are done.
Turn on Show Hidden Files in the settings to see files that start with a dot, such as .htaccess.
Upload with FTP
- In cPanel open FTP Accounts and create an account, choosing a strong password and the folder it can access.
- Next to the account, Configure FTP Client gives a ready-made settings file for some programs, such as Cyberduck. For FileZilla, enter the server name, port, and your FTP username and password by hand, and choose the encrypted (TLS) connection your server offers.
- Install an FTP program such as FileZilla and connect with those details.
- Drag your files from your computer into public_html.
File permissions
As a rule, folders use permission 755 and files use 644. If you see a 403 error after uploading, permissions are one of the first things to check. See common website errors and what they mean.
Installing WordPress instead? You do not need to upload anything. See how to install WordPress on cPanel.

