WordPress is a free open source software, which you can install on your hosting account. Webmasters use WordPress to create any kind of websites. From simple blogs to complex e-commerce websites – anything can be built using WordPress. Due to its simplicity and versatility WordPress has become one of the most popular CMS. Many premium hosting companies like Hostinger have the option to install WordPress by using auto installers. It literally takes just a few mouse clicks to have WordPress up and running on your hosting account. If you’ve decided to create a WordPress website, this tutorial is for you. You will learn how to install WordPress by using auto installers as well as how to manually install WordPres with the famous 5-minute WordPress installer.
Table of Contents
What you’ll need
Before you begin this guide, you’ll need the following:
- Access to your hosting control panel
- FTP client (optional)
How to Install WordPress On Hostinger
Option 1 – Installing WordPress With Hostinger Auto Installer
Setting up WordPress with Hostinger Auto Installer is a quick process. It won’t take more than a few minutes to have a running WordPress site:
- Access Hostinger control panel and click on Auto Installer icon.
- Enter WordPress in the search field. You will be presented with the latest version of WordPress. Click on it.
- Fill in the required details:
- URL – Address of your WordPress website. Leave it blank if you want to setup WordPress on domain name root.
- Language – Choose WordPress language.
- Administrator Username – You’ll have to use this username for logging into WordPress dashboard.
- Administrator Password – The password you’ll have to enter to login to WordPress admin area.
- Administrator Email – Your email address. It’s recommended to enter a working email address here, as it’ll be used for notifications and password reset.
- Website Title – Your WordPress website title.
- Website Tagline – Your website slogan, used to explain what website is about.
- Press Install button.
And that’s it! You can now log in to the administrator dashboard and begin creating your website.
Option 2 – Installing WordPress Manually
If for some reason automatic WordPress installer is not suitable for you or you simply want to learn how this CMS works, you can install WordPress manually. Steps you’ll have to take in order to complete manual WordPress installation:
- Download WordPress installation files.
- Use FTP client to upload WordPress files to a hosting account.
- Create a MySQL database.
- Open your domain in the web browser and run the WordPress 5-minute installation wizard.
Step 1 – Download WordPress installation files
Firstly, download the latest version of WordPress. WordPress installation files are compressed in the .zip archive. Extract the archive to any folder on your computer. You’ll end up with a folder named wordpress. This folder contains WordPress installation files.
Step 2- Use FTP client to upload WordPress installation Files
Secondly, you need to upload the extracted WordPress files to a hosting account. There are quite a few ways to do this, but the most convenient way is by using FTP. At Hostinger, FTP details can be found in FTP Access section. If you need help with connecting to FTP, see this tutorial.
Open wordpress folder in your FTP client and upload all files from it to the hosting account.
NOTE: We are using File Zilla to upload files, but you can use any other FTP client.
Step 3 – Create MySQL Database
WordPress generates content dynamically every time visitor enters the website. All information is stored in the database. Thus, you’ll need to create one.
You can create a MySQL database on Hostinger control panel –> MySQL Databases section. Access this section and enter the following details:
- MySQL database name
- MySQL username
IMPORTANT: Be sure to write down MySQL credentials – you will need them later.
Step 4 – Run WordPress 5-minute Installation Wizard
At this step all WordPress files should be uploaded to the server and MySQL database should be created. Now you can proceed with the installation wizard. Access it by opening your domain name with a web browser.
WordPress 5-minute installation wizard has 6 steps in total:
- Select your language and press Continue.
- WordPress will ask to collect MySQL details. Since you already have them, press Let’s go! button.
- On this screen enter your MySQL database credentials and MySQL hostname. You can check what your hostname is in Hostinger Members area -> MySQL Databases section. Press Submit button once you are done.
- WordPress will check whether it’s possible to connect to MySQL database. If there are no errors, press Run the install.
- At this step enter the main website and administrator information and press Install WordPress:
- Site Title – Your website title.
- Username – Administrator username.
- Password – Administrator password.
- Your Email – Administrator email address.
- Search Engine Visibility – If you check this option, WordPress will try to prevent search engines from crawling your website.
- That’s it, WordPress installation has been completed. Press Login button to access the WP admin area.
How to Install WordPress on cPanel Hosting
If your hosting provider uses cPanel for account management – this part of the tutorial is for you. Below you will find 2 different ways to setup WordPress on cPanel based hosting.
Option 1 – Installing WordPress with Softaculous Auto Installer
Because of its easy installation and maintenance, Softaculous is a popular auto installer on hosting providers who use cPanel. With Softaculous you can install a handful of different CMS and Apps with just a few mouse clicks.
Follow these steps to install WordPress with Softaculous:
- After accessing cPanel, find the Softaculous icon and click it.
- Click on WordPress icon. It should be on the very first page of Softaculous.
- You will see Softaculous WordPress installation window. It has quite a few different settings:
- Choose Protocol – Choose protocol for your WordPress site. If you have SSL installed, it’s highly recommended to install WordPress on HTTPS protocol.
- Choose Domain – If you have subdomains or add-on domains in your cPanel, you can select them here.
- In Directory – Enter WordPress installation directory. If you want to install WordPress on root domain name, leave it empty.
- Site Name – Enter the name for your WordPress site.
- Site Description – Your WordPress site description goes here.
- Enable Multisite – Choose whether or not to enable WordPress Multisite. This feature allows creating multiple WordPress sites using the same WordPress installation.
- Admin Username – Choose the username for your administrator account.
- Admin Password – Password for your WP administrator account.
- Admin Email – Enter your email address here. Be sure to enter a working email as it will be used to send notifications and password reset requests.
- Select Language – WordPress supports a lot of languages. Choose your language here.
- Select Plugins – Choose plugins you want to pre-install.
- Press Install button and Softaculous will begin installing WordPress.
Option 2 – Installing WordPress Manually on cPanel
To setup WordPress manually on cPanel, you will have to follow these steps:
- Download WordPress installation files.
- Upload WordPress files using cPanel’s File Manager.
- Create a MySQL database.
- Run WordPress 5-minute installation wizard.
Step 1 – Download WordPress installation
The latest version can be downloaded from the official page here. Click Download WordPress button in order to start the download. Save .zip archive to your computer. You will need it in the next step.
Step 2 – Upload WordPress files using File Manager
As you may already know there are quite a few ways to upload WordPress files to hosting account. One of them is by using cPanel’s File Manager:
- Access cPanel and open File Manager.
- Open public_html directory and press Upload button.
- Press Select File and choose WordPress .zip archive you have downloaded in the first step.
- Once the upload is completed status bar will turn green. Press Go Back to “/home/username/public_html” button.
- Select .zip archive, press Extract button and Extract File(s) to proceed.
- WordPress files are in the folder named wordpress. Unless you want to access your blog via http://yourdomain.com/wordpress you need to move WP files to the public_html directory. In order to do so, access wordpress folder, select all files and click on Move button.
- Delete wordpress from file path that you want to move files to and press Move File(s) button.
- Finally, select wordpress folder and .zip archive while holding the SHIFT key and press Delete button.
Step 3 – Create MySQL Database
There are 2 ways to create a MySQL database on cPanel. You can either do this manually on MySQL Databases section (see this tutorial for more information) or use MySQL Database Wizard. The second option is more user-friendly:
- Head to cPanel and click on MySQL Database Wizard icon.
- Enter the name for your MySQL database.
- On this step enter username and password. It’s recommended to use Password Generator tool as it’ll generate random, secure password for you. Once you are done, hit Create User button.
- You would want to assign all privileges for your user. Select ALL PRIVILEGES and click on Next Step.
- That’s it, MySQL database along with the user has been created successfully.
IMPORTANT: Write down MySQL database credentials. You will need them in the next step.
Step 4 — Run WordPress 5-minute installation wizard
At this step, all WordPress files must be already uploaded and MySQL database must be created. Let’s go ahead and start the installation process. Open your domain name in a web browser and follow these steps:
- Choose preferred language and press Continue button.
- On the next screen, you will be asked to gather all required information for manual WordPress installation. You can proceed and press Let’s Go button since you already have everything you need.
- Now enter information of the MySQL database you created in Step 3 and press Submit button.
- WordPress will check if MySQL credentials are correct. Press Run the install.
- On the next screen, you will be asked to enter your blog and administrator account details. Enter all required details and press Install button. It is strongly recommended to enter your real email address as it will be used to reset WordPress admin area password in case you lose it.
- Congratulations, you have just manually installed WordPress.
By finishing this tutorial you’ve learned how to install WordPress manually and by using auto installers. Before starting your first blog, you may want to check other useful WordPress tutorials: