Step 1: Get FTP Details from cPanel
- Log in to cPanel
- Go to Files β FTP Accounts
- 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
- Open FileZilla
- At the top, enter:
- Host: example.com
- Username: FTP username
- Password: FTP password
- Port: 21
- 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