Uploading your website to cPanel is easier than you think. This guide walks you through every step from compressing your files to getting your website live online. No technical experience required.
Step 1: Log in to cPanel.
Log in to your Hostcry Client Area and open your hosting account. Click on cPanel to access it. You can also go directly to yourdomain.com/cpanel and enter your cPanel username and password.
Step 2: Download & Install 7-Zip.
Before uploading, you need to compress your project files into a single archive. Download and install 7-Zip from https://www.7-zip.org it is free and works on Windows.
Step 3: Compress Your Project Folder into a .tar Archive.
Open your project folder on your computer. Follow these steps to create a compressed archive of your website files:
1. Open your project folder and select all the files inside it (press Ctrl + A to select all).
2. Right-click on the selected files and choose Show more options (on Windows 11).
3. Hover over 7-Zip in the context menu, then click Add to archive.
4. A pop-up window will appear. In the Archive format dropdown, select tar.
5. Click OK. A new .tar file will appear inside your project folder this is the file you will upload.
Step 4: Go to File Manager in cPanel.
Go back to cPanel. Find and click on File Manager. This opens your hosting file system where you can manage all your website files.
Upload Your .tar File.
Inside File Manager, click on the public_html folder — this is the root folder where your website files must be placed. At the top of the File Manager, click the Upload button.
In the upload screen, click Select File and choose the .tar archive you created in Step 3. Wait for the upload to complete. Once it is done, click Go Back to return to File Manager.
Step 5: Extract the Uploaded File.
You will now see your uploaded .tar file inside the public_html folder. Right-click on it and select Extract.
File Manager will extract all your website files into the public_html folder. Your website is now uploaded to your hosting server.
⚠️ Static websites are done here!
If your website is a static site (only HTML, CSS, and JavaScript files), your work is complete. Open your domain in a browser your website should be live.
If your website has a database (for example, a PHP website or CMS), continue to Steps 6 and 7 below.
Step 6: Create a Database Using the Database Wizard.
If your website requires a database, go back to the cPanel dashboard. Search for and click on MySQL Database Wizard. Follow the on-screen steps:
1. Enter a name for your new database and click Next Step.
2. Create a database username and a strong password. Click Next Step.
3. Grant all privileges to the user and click Next Step.
⚠️ Important: Save your database details now.
Copy and save the database name, username, and password before moving on. You will need them in the next step
Step 7: Connect the Database to Your Website.
Now you need to tell your website how to connect to the database you just created. Go back to File Manager and open the public_html folder. Find your website's database configuration file this is usually named:
• config.php (for custom PHP websites)
• wp-config.php (for WordPress websites)
Right-click on the configuration file and select Edit. Inside the file, find and update the following database fields with the details you copied in Step 6:
After updating all three fields, click Save Changes in the editor
Now open your domain in a browser. Your website should load correctly with the database connected.
✓ Your website has been successfully uploaded and is now live. Open your domain in a browser to confirm everything is working correctly.