Upload files to cPanel using FileZilla (FTP)

Upload files to cPanel using FileZilla (FTP)

Step 1: Get FTP Details from cPanel

  1. Log in to cPanel
  2. Go to Files → FTP Accounts
  3. Note down:
    • Host: usually your domain (e.g. example.com) or server IP
    • Username
    • Password
    • Port: 21

Step 2: Install FileZilla

Download and install FileZilla Client
👉 https://filezilla-project.org/

Step 3: Connect FileZilla to cPanel

  1. Open FileZilla
  2. At the top, enter:
    • Host: example.com
    • Username: FTP username
    • Password: FTP password
    • Port: 21
  3. Click Quickconnect

✅ If successful, you’ll see files on the right side (server).

Step 4: Upload Files

  • Left side → Your computer
  • Right side → Server (cPanel)

Important directories:

  • public_html/ → Main website files
  • public_html/subfolder/ → Subdomain or project folder

📤 To upload:

  • Drag & drop files from left → right
  • Or right-click → Upload

Step 5: Upload Laravel / Project Files (If Needed)

If you are uploading a Laravel project:

public_html/
 ├── index.php
 ├── .htaccess
 └── assets/

🔹 Keep Laravel core files outside public_html (for security)
🔹 Only public folder content goes into public_html