The Complete Guide on How to Setup Website Hosting and Install Joomla with Hostgator

If you have not purchased a domain name yet, refer to our guide on How to Purchase and Setup a Domain Name in HostGator.

Please note, the prices and options shown in our examples may not reflect the current prices and options of HostGator’s plans.

Installing Joomla Through CPanel

Let’s begin by login to C-Panel or Control Panel. This is HostGator’s user control platform for hosting. Scroll down the main control menu and click on "File Manager" under section "Files".

The popup window "File Manager Directory Selection" will appear:

  • Select "Web Root (public_html/www)"
  • Select the domain name you wish to open from the drop down menu under "Document Root for"
  • Keep the "Show Hidden Files (dotfiles)." option checked
  • Press "Go"

You will be directed to the main screen of your “File Manager” panel as shown below.

If you look at the expandable menu on the left-hand side, it will show that you are now in the directory "public_html".

Since we are doing this example of adding a new domain to a hosting service with existing domains, we will need to access one more level by locating the folder with the new domain name within the "File Manager" Panel.

If you only have one domain name connected to the hosting service, you are already within your domain’s directory when you access the "File Manager".

How to Install Website Template

Now we can install website template. You can purchase premade templates online from sources such as TemplateMonster and GavickPro. In addition, almost every web hosting service provides templates as well.

Website Template



Template Monster

  • Get the best Wordpress, Joomla, or Magento template themes to meet your business needs
  • Gain access to thousands of design templates that are all responsive and mobile friendly
  • Modernize your website with a new look and feel to improve user experience

Start with Free Templates

Start Now

For our example, we will be explaining the installation of website templates for the open source CMS (Content Management System) Joomla.

Once you are in the "File Manager" Directory for the particular domain, you will initially see 3 subfolders. We will not be going into these folders at this time.

Instead, go to the top panel of this window, and click on the icon "Upload".

“File Upload” window will open a new tab in the browser, and you can now upload the web template. A message will pop up in the lower right-hand corner of the window when the file is being uploaded. Once the message is showing upload complete, exit out of the window and go back to "File Manager".

The uploaded web template usually appears as a .zip file. Double-click on the file to open the "Extract" window. Type in the path you wish to extract the template file. For example: "public_html/". Template files will then extract automatically.

Once the file extraction is complete, you will see "Extraction Results". You can close out the window and exit out of "File Manager" by clicking on the small icon "Up One Level" located right above the folder directories.

How to Create My SQL Databases

Now go back to the main control panel – CPanel. Scroll down in CPanel to find "Databases" section, and click on "My SQL Databases". We need to create a database to store all your text content within the website. That way, all the blogs and articles will be stored here and can be accessed within your Joomla administrator account.

Within the window "My SQL Database", enter the name you would like to "Create New Database". The green check mark indicates that the name you choose is available. Click on button "Create Database".

A new message window will appear to confirm "Added the database". Your database name should appear as "your-CPanel-user-name_your- database-name". Click "Go Back".

Now we are going to add a new user. You should be taken back to the "MySQL Databases" page. Under section "MySQL Users", click on option "Add New User":

  • Enter a "Username" next to "your-CPanel-user-name_"
  • Create a high strength password, and you can use the "Password Generator" to do so
  • Click "Create User"

You should see a message to confirm that you have successfully created a MySQL username. Click "Go Back".

How to Add Users to My SQL Databases

Now we need to add the user to the database and have both of these linked. Look for the "Add User to Database" section and select the username you have just created with the database name. Click the Add button when you have selected the right user and the database.

You will be able to review a list of users under section "Current Users" within "MySQL Databases" page. Under "Users", click on the username you have just created to access the page "MySQL Account Maintenance".

Your “User” name and “Database” name will be displayed on "MySQL Account Maintenance". Now you will be able "Manage User Privileges" by selecting the level of control this new user has over the account. In this example, we are creating a new user with admin control, so "All Privileges" will be selected. Click "Make Changes" to confirm, and "Go Back" to return to the "MySQL Databases" page.

How to Install Joomla with HostGator Hosting

Open a web browser and input your domain address. You will be prompt for Joomla installation. If your website does not automatically redirect you to the installation page, you can manually insert "/installation" after your domain address.

To install Joomla, follow the steps below:

  • You are now in the Joomla "Configuration" tab. Complete your profile. "Site Offline" option may be left as default "No". Click "Next"
  • Fill in "Database Configuration" within "Configuration" tab. Click "Next" to Continue
  • The last step is "Finalization" under the "Overview" tab. Review your information for accuracy before choosing "Install"

At last, Joomla is installed! Wait, before you close out, don’t forget to “Remove installation folder” by clicking the button.

"Installation folder successfully removed" and we are DONE!

Congratulations on your new website. Now let’s learn about how to optimize your website and start getting traffic.

Also See