How to Upload Your Website

Uploading a website is one of the very first steps novice users have to take in order to publish their creation on the Internet. This tutorial will provide a generalized example on how to upload a website using one of two basic tools – an FTP client or cPanel’s File Manager.

What you’ll need

Before you begin this guide you’ll need the following:

  • Access to the control panel of your hosting account
  • Your website’s files (preferably compressed in a .zip or .tar.gz format archive)
  • (Optional) An FTP client and FTP login details of your hosting account

 

Option 1 — Uploading Your Website via FTP

Some users prefer using an FTP client, such as FileZillaSmartFTPCoreFTP, or any other in order to upload their website. In this example, we will use Filezilla.

Firstly, you will need to get your FTP details. These will have been sent to you in the Your Account Information email and locating the Uploading Your Website section.

Open FileZilla and input your FTP connection details into the fields at the top of the program, then click Quickconnect.


Filezilla connection details

Once you are connected to the FTP server, use the file browser on the LEFT side of the program to find your website’s files on your computer. After you have found your website’s files, use the file browser on the RIGHT side to open your public_html directory on the hosting server. Once you have done this, you can simply drag-and-drop files from left to right and they will be uploaded to the server.

Uploading via Filezilla

(OPTIONAL) Similarly, you can upload a compressed archive via FTP by dragging-and-dropping from left to right. You will also need to extract it via File Manager. Refer to the “Option 2 — Uploading Your Website via cPanel’s File Manager part of the tutorial for instuctions on how to extract archives via File Manager.


Uploading archive via Filezilla

Your website files should now be uploaded to the public_html directory and you should now be able to access your website via your website’s URL. Let’s visit our website and see if we managed to upload our WordPress files via FTP.


Successful WordPress upload now online


Success! We see the default WordPress installation page, which means we successfully uploaded our website and we are now able to proceed with the WordPress installation.

Option 2 — Uploading Your Website via cPanel’s File Manager

Log in to the cPanel of your hosting account and follow the instructions below:

Click on the File Manager icon, located under the Files category.


File manager location

Once inside the File Manager, open the public_html directory.


Public_html directory location

Click Upload after entering the public_html directory.


Upload button location

You can click “Select File” to select a singular file, or simply drag-and-drop your file to the outlined area.


Uploading file from your computer

In this example, we will find and upload a default WordPress installation archive, wordpress.zip.


Selecting WordPress archive from machine

Once the upload is complete, return to the File Manager and you will see the uploaded archive in your public_html directory. Right click the archive and select Extract to extract the archive.


Extracting archive

If you receive a prompt asking to specify the location the archive should be extracted to, make sure to specify /public_html.


Specifying extraction location

The archive is now extracted, all files should now be located inside public_html. Navigate back to public_html and see if the files were moved successfully.


Final check for files

Your website should now be fully uploaded and accessible via your website’s URL. All that remains is to access your website and check if everything works correctly. Simply type in your domain name in your browser, such as http://www.domainname.com/, and check if your website works to your satisfaction. In our example, we see the default WordPress installation page, which means we successfully uploaded our website and now we are able to proceed with installing WordPress.


Successful WordPress upload now online

 

Conclusion

Congratulations, you have just learned how to upload a website. As you may see, you can upload a lot of files at once via an FTP program more easily, however, each file will be uploaded one-by-one. As a result, it may take a long time for each file to be uploaded separately, so it is still strongly advised to create a compressed archive of your files before uploading them.

On the other hand, the File manager is useful for uploading one or two files quickly, since you do not need a separate program for the File manager to work and can update your website on-the-fly, while working on other tasks inside your hosting control panel.

  • 32 Users Found This Useful
Was this answer helpful?

Related Articles

How to View Website Statistics in cPanel Using AWStats

This tutorial will teach you how to check on who is viewing your website using the program in...

Becoming Familiar and Navigating Around in cPanel

Lets learn about cPanel, and how to navigate it's many pages and functions. Making sure that your...

How to Use Cron Jobs Feature on cPanel

Introduction In this guide, you will learn how to use Cron Jobs feature. Cron jobs allow you to...

How to Increase PHP Upload Limit, Memory & Post Max Size

In some cases, default server settings may not let you upload larger files via your website, or...

Timezone Reference List

As you build your website, you may need or want to change the default time zone for your account...