How to Upload Website Files Using cPanel File Manager and FTP / SFTP
Key Takeaway: Complete guide on publishing web files, ZIP extractions via File Manager, and connecting via FileZilla with secure TLS.
Where Website Files Belong: The public_html Directory
Every website hosted on cPanel must place its public-facing files (such as index.html, index.php, or WordPress files) inside the public_html/ folder. Files placed outside this directory will not resolve on the web.
Method 1: Upload via cPanel File Manager (Recommended for ZIPs)
- Log into your cPanel dashboard.
- Click File Manager in the Files section.
- Double click to enter the
public_htmldirectory. - Click Upload in the top toolbar, select your compressed
.zipfile, and wait for the progress bar to turn green. - Return to File Manager, right-click the uploaded ZIP file, and choose Extract.
Method 2: Upload via FTP / SFTP (FileZilla)
For ongoing development and large assets, connect using an FTP client like FileZilla:
Host: ftp.yourdomain.com (or your server IP)
Port: 21 (FTP with Explicit TLS) or 22 (SFTP)
Username: Your cPanel Username
Password: Your cPanel Password
Encryption: Require explicit FTP over TLS