In this guide, I will show you how to upload a website to Cpanel. You see, for a website to be available online, it must be hosted (housed) somewhere. The content viewed by web visitors is usually stored in a hosting account (a server).
And to access and control this hosting account, you need a ‘bridge’ to connect you to the server. That’s where a cPanel comes in.
Prerequisite:
Ensure you have the following in place in order to start off the process of uploading your website to the Cpanel.
a. A domain name
b. Hosting account (with a Cpanel).
c. A zipped file of your website. (Should be a .zip extension)
- Login to your Cpanel
To achieve this, after pasting the login details place your cursor at the beginning of the username and click on “backspace” on your keyboard then place the cursor at the end of the username and click on “delete.” Do the same for the password.
2. Under the Files tab, Click “File manager” > “Public_html”
This is applicable only if you are uploading the site for the main domain and not the add-on domain or subdomain as they are located in a different folder within the file manager.


3. Click the Upload button on the top main menu and click “Select File” to choose your zipped file to upload from your PC.


4. Once it finishes uploading, go back to public_html directory.
5. Right click the file and click Extract to unzip the file.
6. Open the extracted folder and select all the folders/files.
7. On the top menu click move. A path with pop-out eg /public_html/foldername

8. Delete the folder’s name to remain the path /public_html (NOTE: This is only for the case of a main domain)

9. Click move and the folder will be emptied.
10. Now Load your website in your browser.
If your website has a database, you will also need to create the database the create and upload its content. Learn more about how to create a database and import your database. That is how to upload a website to Cpanel.
Learn how to create a database and uploading it to your Cpanel
Interesting and well understood pls How to creat a content in the zipped file of your website.
Dear Truehost Team,
Since I made payment for VPS subscription, which has been dedicated to me as , clauppa Linux 1
With all the login information, which I have tryingfor past 4days without any meaningful results, the system is not working, the cpanel manage to open onece since then it’s has stop working,
I don’t know what to do anymore
Please kindly help
Thanks
What about A Laravel project that has files that cannot be kept in the public folder how do we go about it
Dear Truehost Team,
Since Wednesday, February 12th, 2025 I uploaded files, but when I visited the site it’s showing me “This page isn’t working
islamicsite.com.ng is currently unable to handle this request.
HTTP ERROR 500” .
I don’t know what to do anymore
Please kindly help!
Thanks