How to Upload Your Website to cPanel Print

  • upload, file manager, upload my website
  • 0

There are two primary ways to upload your website files to cPanel: using the built-in cPanel File Manager (best for single zip archives and quick uploads) or using an FTP Client such as FileZilla (best for large site migrations or frequent edits).

Prerequisites

  • Compress your website files on your local computer into a single .zip file before uploading via File Manager.

  • Your homepage file must be named index.html, index.php, or index.htm for the server to load it automatically.

Method 1: Using cPanel File Manager (Recommended)

  1. Log in to cPanel.

  2. Scroll to the Files section and click File Manager.

  3. In the left sidebar, double-click to open the public_html directory.

    (Note: If uploading for an Addon Domain, open public_html/youraddon domain.com or the specific document root folder created for that domain).

  4. Click the Upload button located in the top toolbar menu.

  5. Click Select File and choose your website's .zip file from your computer.

  6. Once the progress bar turns green (100%), return to the File Manager tab.

  7. Select your uploaded .zip file, click Extract in the top toolbar, and confirm the extraction path as /public_html.

  8. (Optional) Delete the uploaded .zip file to free up disk space.

Method 2: Using FTP (FileZilla)

  1. Download and open an FTP client like FileZilla.

  2. Connect using your FTP credentials:

    • Host: ftp.yourdomainname or your server's IP address

    • Username: Your cPanel username

    • Password: Your cPanel password

    • Port: 21

  3. Navigate to the public_html folder in the remote site window (right panel).

  4. Drag and drop your uncompressed website folders and files from your local computer window (left panel) into public_html.

Tip: If your site requires a database (such as WordPress or custom PHP applications), upload your web files first, create a MySQL database via cPanel > MySQL Databases, and import your SQL file using phpMyAdmin.


Was this answer helpful?

« Back