How to Upload Your Website Using FTP or File Manager — cPanel & Hosting How-Tos cPanel & Hosting How-Tos

How to Upload Your Website Using FTP or File Manager

By Genhost Team 2 min read

To put a website online you need to get its files onto your hosting, into the right folder. There are two easy ways: cPanel’s File Manager (in your browser) and FTP (with a desktop app like FileZilla). Here’s how to use both.

Where files go

Your website’s files belong in public_html for your main domain. The home page — usually index.html or index.php — must sit directly in that folder, not in a subfolder, or visitors will see a directory listing or an error. Addon domains and subdomains have their own document-root folders inside public_html.

Option A: File Manager (quick, in your browser)

Best for small uploads and quick edits.

  1. In cPanel, open File Manager.
  2. Navigate into public_html.
  3. Click Upload and select your files. For a whole site, upload a .zip and then Extract it in place — much faster than file-by-file.
  4. Use Edit to tweak a file, or + File / + Folder to create new ones.

Option B: FTP with FileZilla (best for larger sites)

Best for many files or a full site transfer.

Create an FTP account (optional)

In cPanel, open FTP Accounts to create a dedicated FTP login (safer than sharing your main cPanel password). You can also use your cPanel login directly.

Connect

In FileZilla, enter:

Field Value
Host your domain or server hostname
Username your FTP or cPanel username
Password your FTP or cPanel password
Port 21 (use FTP over TLS where available)

Connect, open public_html on the right (server) side, and drag your local files across.

Tips for a smooth upload

  • Upload a .zip and extract on the server — far quicker than many small files.
  • Keep the structure — upload folders as they are so links and images still work.
  • Set permissions correctly: folders 755, files 644 (File Manager and FileZilla can both change these).
  • Replace, don’t duplicate — when updating, overwrite the old files.

Then point your domain and secure it

With files in place, make sure your domain points to the server — see how to point your domain to your hosting — and AutoSSL will add free SSL automatically. Every Web Hosting and Reseller Hosting plan includes File Manager, FTP accounts and NVMe storage for fast uploads, and support can help with a large migration.

Frequently asked questions

Where do I upload my website files?

Put your website's files in the public_html folder for your main domain (or the document root of an addon domain or subdomain). The home page file, usually index.html or index.php, must sit directly in that folder.

Should I use FTP or File Manager?

Use cPanel's File Manager for quick edits and small uploads straight from your browser. Use FTP with a client like FileZilla for larger sites or many files, as it is faster and more reliable for bulk transfers.

What are my FTP settings?

Host: your domain or server hostname; Username and password: an FTP account you create in cPanel (or your cPanel login); Port: 21 for FTP. Use FTP over TLS where your client supports it for a secure connection.