30 May 2024


Living loving learning

How to upload your web files via cpanel

3 min read
Using cpanel to upload your website.

There are two easy ways to upload web files to your hosting server: via FTP (which I discussed in a previous post) and via cpanel.  From personal experience, FTP is still the most efficient way but there are times when FTP fails (such as when the internet servers where you are at have blocked FTP).  This leaves us with one alternative … CPANEL.

Note:  With both FTP and cPanel you need to be online to be able to access your hosting server.

Here are the steps to uploading web files via cpanel

  1. Go to your File Explorer (on Windows) or Finder (on Mac) and make sure you are at the folder containing your web files.
  2. Select the files you want to upload and compress them into a zip file.
    1. If you are only uploading one file then there is no need to compress.
    2. If you are uploading a folder then you need to compress the entire folder, not just its content.
  3. Open your web browser.
  4. Go to yourdomain/cpanel (ex. www.slvrdlphn.com/cpanel) or, alternately you can go to yourdomain:2083 (ex. www.slvrdlphn.com:2083).  This may lead you to a page that will ask you if you are behind a firewall or not.  In most cases you can just wait and it will bring you to the login page.
  5. In the boxes provided input your username and password.  These credentials should have been emailed to you by your hosting provider.
  6. Click on Log In.  If your credentials are correct you will see LOGIN SUCCESSFUL appear on top of the cPanel word in the screen and it will open your cPanel.
    cpanel main
  7. Click on File Manager.
    file manager button
  8. Once File Manager is open double click on public_html.  This is where ALL web files are supposed to go.
    file manager
  9. If you are opening this for the first time it will look like this:
  10. Click on UPLOAD on the menu bar on top. Select the file you want to upload to “/home/name of server/public_html” (ex. /home/slvrdlphn/public_html).
    file upload
  11. Once the upload reaches 100% you can click on GO BACK located at the bottom and public_html will look like this:
    uploaded file
  12. Click ONCE on the zipped file.  Note, you are just want to select the file, not open it.  Once selected the file will turn blue to indicate it is selected.
    file selected
  13. Click on EXTRACT on the toolbar.  In the box, make sure that the path says public_html.  If you extract your files here it will place the web files in the root folder.  If your web content is supposed to be in a subfolder then type that path.  For example, if your project is called “hotel” and it is supposed to be in a subfolder then your path should be public_html/hotel.  Click on EXTRACT FILE.
  14. Once successful it will display the extraction results.  Click on CLOSE.
    extraction results
  15. All that is left is to delete the zipped file and you’re done!


Facebook Comments

Leave a Reply

Protected by CleanTalk Anti-Spam