How to Install Joomla

How to Install Joomla

Joomla is one of the best CMS platforms that you can use to make a website. As a content management system, it offers everything you need to manage your publications and create new pages with ease. As of today, it’s regarded as one of the top WordPress alternatives out there.

In this guide, we’ll show two ways of how to install Joomla on your web host, including with Hostinger’s Joomla hosting:

Hostinger web hosting banner

So, let’s see what it takes to get this script up and running!

Installing Joomla Manually

First, we’ll cover the manual Joomla installation. To complete it, you’ll need to get your hands dirty and do a little extra work. Overall, there are 5 simple steps that you’ll need to follow:

1. Create a MySQL database and user

To begin, navigate to your hosting control panel and open the Databases › Management section. Specify your database name, user, and password as shown in the example below:

The Databases Management page on hPanel

Make sure to write down the details somewhere, as you’ll need to use them later on.

2. Download the latest Joomla version

Next, grab the official Joomla installation package free of charge from their website. To get the latest version, press Download Joomla! and your request will be completed shortly.

Downloading Joomla CMS installation files

3. Upload the Joomla archive and extract it

At this point, you’ll need to upload the compressed file to your domains’ root and extract it.

Using a file manager

Most hosts offer web-based file managers for everyday tasks. Since Joomla doesn’t take up a lot of disk space, it’s the perfect tool for the job. To start, go to Files › File Manager section. Choose which files you want to access.

The File Manager options on hPanel

By default, you should appear in the public_html directory, which is your domains’ root folder. Then, follow these instructions to upload the Joomla installation archive to your account:

  1. Select the Upload Files icon in the upper-right corner.
  2. Click on Select Files and find the archive on your computer.
  3. Hit the Upload button to begin the process.
  4. Wait for the process to finish and you’ll see the File Manager interface once again.
The Upload pop-up window with the File option highlighted

Now, you should retrieve the contents of the zipped file by right-clicking and choosing the Extract function. You can type in a dot in the prompted box to extract directly to public_html.

The Extract pop-up window on hPanel's File Manager, highlighting the Extract option

Since the script has many files, this operation can take a few extra minutes to complete.

Using an FTP client

Alternatively, you may do it with an FTP client. To use it, you’ll need your Host IP, FTP username, password, and port. You can find them via Files › FTP Accounts in your control panel.

The FTP Accounts page on hPanel

Configure your FileZilla FTP client and click the Quickconnect button. Ideally, you should extract the contents on your computer first, as FileZilla does not have a feature to do it. Then, drag and drop the files from your local storage to the public_html directory as shown below:

Uploading Joomla setup files via FileZilla FTP client

Since there are many separate files, this may take from 10 to 15 minutes to complete.

4. Make sure Joomla files are in the root directory

In order for Joomla to work via YourDomain.com, all the files must be placed in public_html. In case you did not type in the dot while extracting or uploaded the whole directory, an extra folder will be present. You’ll need to access it and move everything to public_html instead.

If you used our File Manager, you’ll need to:

  1. Enter the additional directory.
  2. Select all the files.
  3. Right-click and select the Move function.
  4. Specify the destination as /public_html.
  5. Click Move once more to proceed.
The Move pop-up window on hPanel's File Manager with the Move button highlighted

If you used a FileZilla FTP client, you should:

  1. Enter the additional folder.
  2. Select all the files within it.
  3. Drag them one directory up (represented by a folder with two dots).
  4. Wait for the process to finish.
Moving files using a FileZilla FTP client

5. Run the Joomla setup

At this point, you can begin the Joomla installation. Start by visiting your domain through any browser and make sure to have your MySQL host, user, database, and password values nearby.

Firstly, you’ll need to enter your Joomla site name, description, and set up an admin user.

Installing Joomla manually - main configuration

Next, you’ll need to fill in the MySQL database details which we retrieved in step 1. In most cases, the hostname is localhost, but this can vary depending on your provider.

Installing Joomla manually - MySQL database setup

In the last step, you’ll need to review your details and choose additional modules (if needed).

Installing Joomla manually - final step

That’s it! You’ve successfully installed Joomla CMS on your web hosting account. To start building your site, go to the administrative area located at YourDomain.com/administrator.

Installing Joomla with an Auto-Installer

Alternatively, Hostinger users can use the Auto Installer feature to set up Joomla in less than a few minutes. You’ll only need to specify a few details, and the system will do the rest!

1. Access the Auto Installer

Open up your hPanel dashboard, choose a website, and look for Auto Installer under the Website section.

The hPanel menu, highlighting the Auto Installer option

2. Locate Joomla CMS

You should see a list of the most popular scripts first. Select Joomla from the list to proceed.

hPanel's Auto Installer highlighting the Select button

3. Run the initial setup wizard

Fill in the basic configuration, such as the installation URL and language. Also, make sure to write down the admin email, username, and password. Then, click the Install button.

The Install Joomla pop-up window with the Install button highlighted

That’s all it takes to install Joomla on Hostinger! To start building, go to your Joomla dashboard at YourDomain.com/administrator and use the newly created admin credentials to log in.

Troubleshooting Common Joomla Installation Errors

Sometimes, you can run into errors if some details were entered incorrectly. Here is a short list of the most frequent cases and short explanations on how to fix them:

Error – Confirm that you are the owner of this website
Joomla installation error: To confirm that you are the owner of this website please delete the file named we have created in the "installation" folder of your Joomla site.

This issue can occur if you entered the wrong details multiple times. To fix it, navigate to the installation folder (public_html) and remove the automatically generated file.

Error – Could not connect to the database
Joomla error: Could not connect to the database. Connector returned number: Could not connect to MySQL server.

The message signals that your MySQL database, user, or password are incorrect. Double check if they match the values that you created in step 1 or try to reset your password.

Error – MySQL database names and table names may not begin or end with spaces
Joomla error: MySQL database names and table names may not begin or end with spaces

This can happen if you put an accidental space at the beginning or the end of your database configuration. Double check it and make sure to remove any additional spaces that you find.

Installing Joomla on VPS

Hostinger users who use VPS hosting can also benefit from the operating system template on hPanel. Installing Joomla using the OpenLiteSpeed Joomla One-Click app is faster and more convenient.

This feature will automatically install OpenLiteSpeed, Joomla!, and any dependencies. It also automates initial setup for components like PHP OPCache to reduce the time it takes to optimize a web server.

Additionally, this Joomla, OpenLiteSpeed, and LSCache combo image tends to be much faster than a regular Joomla image.

To use this feature, open hPanel, then choose the server you want to manage. Head over to Operating System → Change Your Operating System → Applications. Choose the Joomla template from the drop-down menu, then click Change OS.

The Change Operating System option in hPanel with the Joomla template highlighted.

After that, wait until the process is finished. If you’re changing from an older operating system, be sure to back up your files before installing a new one.

Final Word

By finishing this guide, you’ve learned two different ways of setting up Joomla on your web hosting account. You are also able to identify and troubleshoot the most common Joomla installation errors. For a more in-depth approach, consider checking our complete Joomla tutorial.

Author
The author

Domantas G.

Domantas leads the content and SEO teams forward with fresh ideas and out of the box approaches. Armed with extensive SEO and marketing knowledge, he aims to spread the word of Hostinger to every corner of the world. During his free time, Domantas likes to hone his web development skills and travel to exotic places.