Knowledgebase

How to Upload a Website on cPanel Print

  • 0

cPanel allows you to upload your website files easily using File Manager or FTP. This guide explains both methods, including where to upload files so your website works correctly.


Method 1: Upload Website Using cPanel File Manager (Recommended)

https://www.catalyst2.com/wp-content/uploads/2019/08/file-manager-interface.png
https://bobcares.com/wp-content/uploads/2022/06/Screenshot-from-2022-06-30-11-29-55.png
https://content.hostgator.com/img/cpanelv2-upload-select-file.png

Step 1: Log in to cPanel

Open:

 
https://yourdomain.com:2083

Enter your cPanel username and password.


Step 2: Open File Manager

  1. In cPanel, go to Files → File Manager

  2. Click public_html

???? Important:

  • public_html = main website directory

  • This is where your website files must be uploaded


Step 3: Upload Website Files

  1. Click Upload (top menu)

  2. Select your website files (HTML, PHP, CSS, images, etc.)

  3. Wait until upload reaches 100%

✅ Supported file types: .html, .php, .css, .js, .jpg, .png, etc.


Step 4: Extract ZIP File (If Uploaded as ZIP)

Uploading a ZIP file is recommended.

  1. Right-click the ZIP file

  2. Click Extract

  3. Extract files inside public_html

Your main file should be:

 
index.html OR index.php

Method 2: Upload Website Using FTP (Advanced Users)

https://content.hostgator.com/img/filezilla-interface.pnghttps://www.greengeeks.com/tutorials/wp-content/uploads/2019/04/cPanel-set-up-ftp-accounts-01.png
https://tezhost.pk/wp-content/uploads/2023/04/Use-FTP-to-Upload-Files-to-Your-Web.webp

Step 1: Get FTP Details

In cPanel:

  • Go to Files → FTP Accounts

  • Note:

    • FTP Server

    • Username

    • Password

    • Port (21)


Step 2: Connect Using FTP Client

Use software like FileZilla:

  • Host: your domain or server IP

  • Username: FTP username

  • Password: FTP password

  • Port: 21


Step 3: Upload Files

  • Open public_html on the server side

  • Drag and drop your website files

  • Wait for upload to complete


Uploading a WordPress Website (Optional)

https://colibriwp.com/blog/wp-content/uploads/2021/03/image5.jpghttps://truehost.co.ke/support/wp-content/uploads/2020/09/image-45.png

Option 1: Fresh WordPress Install

  1. Go to Software → WordPress Manager / Softaculous

  2. Click Install

  3. Follow on-screen steps

Option 2: Upload Existing WordPress Site

  1. Upload WordPress files to public_html

  2. Import database via phpMyAdmin

  3. Update wp-config.php


Common Mistakes to Avoid

❌ Uploading files outside public_html
❌ Missing index.html or index.php
❌ Not extracting ZIP files
❌ Wrong file permissions


Fix Permissions (If Website Not Loading)

Recommended permissions:

 
Folders: 755 Files: 644

You can set this by right-clicking files in File Manager.


Test Your Website

After upload:

  1. Open your browser

  2. Visit:

 
https://yourdomain.com

If you see your site — ✅ upload successful.


Troubleshooting

Website Shows Default cPanel Page

  • Remove index.html (default file)

  • Ensure your main file is named correctly

Website Shows Blank Page

  • Enable error reporting

  • Check PHP version

  • Review .htaccess


Conclusion

Uploading a website to cPanel is simple using File Manager or FTP. Always upload files inside public_html, ensure your index file exists, and test your site after upload.


Was this answer helpful?

« Back

Chat with us Call us

Looking for the Right Hosting Solution?

Our expert support team is here to guide you to the ideal hosting solution for your specific needs. Get personalized recommendations and answers to all your questions.

Get Expert Consultation

Copyright © 2026 Tupoa Hosting. All Rights Reserved.