How to add your HostGator shared server website to CodeGuard

In this article, we will show you how to backup your HostGator shared server website.

In order to add your website to CodeGuard, we will need the following pieces of information:

  1. Website URL
  2. Hostname or IP address
  3. SFTP Username
  4. SFTP Password
  5. SFTP Port Number
  6. Website Root Directory

All of this information can be found in your HostGator cPanel.

Step 1: Log into your HostGator cPanel

When you signed up with HostGator, you were emailed your cPanel's URL, username, and password. Use this, or whatever the current password is if you've changed it, to log into your HostGator cPanel.

1_hg_login.png

Step 2: Locate your credentials

Scroll down until you see "General Information" on the right-hand sidebar. Here, you will find the SFTP username under "Current User" (same as your cPanel username) and the URL of your website under "Primary Domain". The root directory of your website will be your Home Directory with /public_html at the end. In the example below, the root directory would be /home1/hgbackup/public_html. Lastly, your site's IP address is listed under "Site IP".

Your SFTP Password is going to be the same as your cPanel password, and the SFTP Port is 2222.

2_general_information.png

Step 3: Log into your CodeGuard account

Scroll back up to the "Special Offers" section and click the "Cloud Backup" icon.

3_special_offers.png

 

Next, click "Login to CodeGuard"

4_cg_login.png

Step 4: Add your website to CodeGuard

Click the green "Add FTP/SFTP Website" button on your CodeGuard dashboard

5_cg_dashboard.png

Enter the credentials that you gathered in Step 2 above, then click "Using a different port?".

6_enter_creds.png

Enter 2222 into the "Port Number" field and then click "Test Website Connection"

7_enter_port.png

Check the box next to your "public_html" directory and click "Select Root Directory"

8_select_code.png

To select all of your website files, simply click the top box next to "public_html". if there are any files/folders that you do not need backed up, you can uncheck them as needed. When you're ready, click "Begin First Backup".

9_select_files.png

Congratulations! You have successfully added your website! Next, you will be prompted to add a database if you have one. For WordPress websites, we will attempt to automatically add the database for you. If you don't see the notice in yellow that indicates your database has been added, you will need to do this too. If you do need to add your database, you can follow the steps outlined in this support article.

10_success.png

 

If you have any questions about any of these steps, or if you run into any trouble, please let us know by sending an email to support@codeguard.com.



Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request