How To Add Images or Upload Files To Your Website

Upload the image to your site and add an HTML img tag to your website's HTML code.

You can do this with the HTML Editor in cPanel's File Manager interface (Home >> Files >> File Manager).

For qualifying accounts, you can also do that using an FTP client or with a WebDAV.

Please note that you must Port 22 for SFTP when using an FTP client on our servers.

For files, click File Manager, and then scroll down to the directory where you want to put the files.

To put the files in the public_html directory of your hosting account, perform the following steps:

  1. Create an FTP account in cPanel's FTP Accounts interface (Home >> Files >> FTP Accounts).
    Please note that you don't have to do this since an FTP account was created automatically when your web hosting account was provisioned.
    You ONLY need to create a new FTP account if you want to give access to someone who is helping you build your website and do not wish to share your cPanel account.
  2. Enter your public_html directory in the Directory text box.
  3. Use your external FTP program to upload your site's files to that directory.

Now, uploading files to your hosting account means knowing the correct directory to upload them.


The directory you will use depends on whether you are working with a main domain or an addon domain or a subdomain.

Document Root - Main Domain aka home folder

This is the main folder that contains all of the files for either a domain or a subdomain. The document root for your main domain name is your public_html folder. This means when someone visits your main domain, the server returns files that are located in the public_html folder.

Document Root - Sub Domain

A subdomain found at Home >> Domains >> Subdomains in cPanel interface is a subsection of your website that sometimes exists as a subdirectory in your public_html (document root) directory, or may exist as a directory in your account's home directory.
Subdomains use a prefix in conjunction with the domain name. For example, if the registered domain name is example.com, the subdomain will be prefix.example.com.
You can use subdomains to create unique user accounts for “vanity domains.” This is helpful if, for example, you have a blog, or any other type of website that uses a domain specifically titled for a user.

Document Root - Addon Domain

Addon domains allow you to control multiple domains from a single account. An addon domain links a new domain name to a directory in your account, and then stores its files in that directory.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

HTTP Response Status Codes

The following table lists the HTTP response status codes you may sometimes see and what they...

Recommended Basic Tools To Manage Your Website

While our customers can install their website using automated tools such as 1-click installation,...

Connecting To Your cPanel Server via SSH

This cPanel interface found at Home >> Security >> SSH Access provides...

The Beauty Of Command Line Interface (CLI)

It's no secret that the command line can be intimidating to most new users. But while the...

What To Do When You Accidentally Delete Your Root Folder, Folder Or A File

OK .. here is the deal. There is no undelete option in Linux. You need to restore this folder...