Effective February 15, 2021, the CodeGuard support center will be merging with the Sectigo support center. This means that support emails will come from support@codeguard.com, and the knowledge base will be hosted on sectigo.com. There will be no interruption of our services, and you will continue to receive top of the line support during and after this transition.

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