Get Web Hosting Solutions

Web Hosting & cPanel Guide: How to Easily Upload Your Website

0 Shares

This guide will walk you through the process of getting your hosting, setting up your cPanel, and uploading your website.

Step 1: Purchase Hosting from Tremhost

  1. Visit Tremhost: Go to Tremhost.
  2. Choose a Hosting Plan: Browse through the available hosting plans and select one that fits your needs.
  3. Register/Transfer a Domain: If you don’t have a domain, you can register a new one. If you already have a domain, you can transfer it to Tremhost.
  4. Complete the Purchase: Follow the checkout process to complete your purchase. You will receive an email with your cPanel login details once your hosting is set up.

Step 2: Access cPanel

  1. Login to cPanel: Use the cPanel login details provided in the Tremhost email.
    • Typically, the cPanel login URL is http://yourdomain.com/cpanel or https://yourdomain.com:2083.
  2. Enter Credentials: Enter your cPanel username and password to log in.

Step 3: Upload Your Website Files

  1. Open File Manager: Once logged into cPanel, locate and click on “File Manager” under the “Files” section.
  2. Navigate to Public_html Directory: In File Manager, navigate to the public_html directory. This is the root directory for your website.
  3. Upload Your Files:
    • Click the “Upload” button in the toolbar.
    • Select the files from your computer that you want to upload. You can upload a .zip file containing your website files if you prefer.
    • Once the upload is complete, if you uploaded a .zip file, right-click on it and select “Extract” to unzip the contents.

Step 4: Configure Your Website

  1. Check for Configuration Files: Ensure that any necessary configuration files (e.g., wp-config.php for WordPress) are correctly set up.
  2. Set Permissions: Make sure that your files and directories have the correct permissions. Typically, directories should have 755 permissions, and files should have 644.

Step 5: Set Up Databases (If Needed)

If your website uses a database (e.g., WordPress, Joomla), you need to set it up:

  1. Open MySQL Databases: In cPanel, click on “MySQL Databases” under the “Databases” section.
  2. Create a New Database:
    • Enter a name for your new database in the “Create New Database” field.
    • Click “Create Database.”
  3. Create a Database User:
    • Scroll down to the “MySQL Users” section.
    • Enter a username and password for the new user.
    • Click “Create User.”
  4. Add User to Database:
    • Scroll to the “Add User to Database” section.
    • Select the user and the database you just created from the drop-down menus.
    • Click “Add.”
    • On the next screen, select “All Privileges” and then click “Make Changes.”
  5. Update Configuration Files: Ensure that your website’s configuration files (e.g., wp-config.php for WordPress) are updated with the new database details.

Step 6: Test Your Website

  1. Access Your Website: Open your web browser and go to your domain name (e.g., http://yourdomain.com).
  2. Check for Issues: Ensure that all pages and functionalities of your website are working correctly. If you encounter any issues, verify that all files were uploaded correctly and that all configuration settings are accurate.

Conclusion

By following these steps, you can easily upload your website to your Tremhost hosting account using cPanel. This guide covers everything from purchasing hosting to setting up your website, ensuring a smooth and efficient process. Enjoy your new website!