Dec 22, 2025
Jordana A. & Marco C.
10min Read
WordPress is a popular open-source content management system (CMS) known for its versatility and scalability. Since it’s free, simply install it to start creating your WordPress website.
This WordPress tutorial will guide you through installing WordPress on web hosting. The first two methods we will cover are specifically tailored for users with websites hosted on Hostinger.
We will also address common problems you might encounter during the WordPress installation procedure and provide solutions to fix them.
Here are the WordPress requirements you must meet to install the CMS:
Web Hosting
While WordPress is free, it requires hosting to store website files and data due to its self-hosted nature. You can buy a hosting plan from hosting providers like Hostinger at varying prices.
For optimal performance, opt for a web host that supports the following programming language and database management system:
Hostinger’s WordPress website hosting exceeds the necessary requirements as it’s configured for optimal performance. Starting at 0/month, you also get a one-click WordPress installer, unlimited free SSL for website security, advanced protection against malware and DDoS attacks, and up to 200 GB of NVMe storage.

Domain Name
A domain name is your website’s unique address on the internet, making it easy for others to find and visit your site. You can buy a domain through a domain registrar or get a hosting plan that includes a free one for easier management.
Hostinger bundles all managed WordPress hosting plans with a one-year free domain registration. It also includes WHOIS privacy protection to safeguard your personal information.
Your domain name significantly impacts your web presence, so pick one that reflects your brand or online identity. Check out our guide for more tips on choosing your website’s domain name.
WordPress Installation Files and Tools
The following are additional necessities depending on your preferred installation method:
With Hostinger, you have two options to install WordPress ‒ through the onboarding flow or using the auto installer. Non-Hostinger users can leverage Softaculous for a seamless installation or choose manual installation instead.
This section of the tutorial will guide you through each method. Feel free to choose the best one for your needs.
Hostinger users on Business and cloud website hosting plans can set up their new WordPress website during the onboarding flow. With the built-in AI tools for fast content creation, this method is geared toward beginners and those wanting to launch their site quickly.
Here’s how to install WordPress on Hostinger through the WordPress onboarding flow:
This method works best for installing an older WordPress version. It’s also ideal for installing WordPress on a subdomain without affecting the parent domain, serving as an extension of the main website.
Here’s how to install WordPress using hPanel’s Auto Installer:
Non-Hostinger users can install WordPress using Softaculous. This popular auto installer script library integrates with cPanel, Plesk, DirectAdmin, and InterWorx control panels.
Here’s how to install WordPress from cPanel:
If the previous methods fail or your hosting provider lacks an auto installer, you can install WordPress manually.
This method involves uploading WordPress files to your hosting account. Though longer, the process is still relatively straightforward to follow, even for beginners.
Upload WordPress Files to the Web Server
Here’s how to upload WordPress installation files to your hosting account using Hostinger’s File Manager:
Here’s how to upload files to your web server with an FTP client:
Create MySQL Database and User
A database is the central storage hub for a website’s data. It stores all website essentials, including user info, site settings, and content like posts and pages. A database user has access and permission to interact with the database. MySQL is the database management system that WordPress uses.
Check out our guide if you want to learn how the WordPress database works and the best practices to manage it.
Follow these steps to create a database and user for your WordPress manual installation:
Configure wp-config.php
wp-config.php is a core installation file that contains important settings, including the database name, username, password, and web server information. Configuring the wp-config file with your database connection details allows WordPress to access and interact with your newly created database.
Here are the steps to configure the wp-config file for your new WordPress installation:
// ** MySQL settings - You can get this info from your web host ** // /** The name of the database for WordPress */ define( 'DB_NAME', 'database_name_here' ); /** MySQL database username */ define( 'DB_USER', 'username_here' ); /** MySQL database password */ define( 'DB_PASSWORD', 'password_here' ); /** MySQL hostname */ define( 'DB_HOST', 'localhost' );
Run the WordPress Install Script
Now that everything is set, you can start the WordPress installation process. Follow these installation instructions to set up your WordPress environment:
Sometimes, WordPress might ask to collect your MySQL database information after selecting a language. Since you already have them, press Let’s go! and follow these instructions:
Installing WordPress locally is a common practice for testing WordPress themes, plugins, and web designs without impacting the live website. Check out our guide for the WordPress installation steps on Windows and Mac operating systems.
Installing WordPress can sometimes lead to errors, especially if you do it manually. This section will cover some of the common WordPress installation issues and provide solutions to resolve them.
The “Error Establishing a Database Connection” message indicates a database error that prevents your website from retrieving the necessary information to render the page. It’s usually caused by invalid database information or a corrupted database.
To fix the issue, verify the login credentials in wp-config.php and ensure they match your MySQL credentials.
If you’re sure the database information is correct, reset your MySQL password. Head to Databases → Management on hPanel, click the three dots icon, and select Change Password.
If the error persists, remove the MySQL database and create a new one. Add the new database information to wp-config.php and retry the installation process.
The white screen of death is a common error where the browser window displays a blank white screen without any error message. Common causes include exceeded memory limits and corrupted core files, such as functions.php, wp-config.php, and .htaccess.
Here are several effective methods to troubleshoot this WordPress error:
This error typically occurs when there’s extra whitespace or characters before or after the PHP opening <?php and closing ?> tags in wp-config.php.
To fix this error, start by downloading the wp-config.php file. Open it in a text editor and check that the first line is <?php without any preceding whitespace or characters, and the last line is ?> with nothing after it. Hostinger users can edit the file directly using File Manager.
Once you’re done, save the file and re-upload it to your WordPress directory. Reload the website to see if the error is resolved.
When your website shows a list of files and directories instead of the expected web page, it indicates that the web server can’t retrieve the index.php file as the default document.
Disable the directory listing to fix the issue. Head to Advanced → Folder Index Manager from hPanel and enter the public_html folder in the directory field. Set the indexing type to No index and click Add.
Alternatively, create a new index.php file in the public_html folder using File Manager’s file creation feature.
If your WordPress site shows raw PHP code instead of rendering content, it usually indicates an issue with PHP processing on your server. Incorrect PHP installation or configuration usually causes this error.
Apply these troubleshooting methods to fix this error:
If the previous methods don’t resolve the error, our Customer Success team is ready to help. Our live chat support is available 24/7 via hPanel.

Learn how to install WordPress and start your online journey with our video tutorial.
WordPress’ ease of use and flexibility are reflected in various aspects, including its installation methods. Users of all technical levels can leverage this powerful CMS without being hindered by the setup process.
Let’s recap the four effective ways to install WordPress in a shared hosting environment:
We hope this article eases your WordPress installation journey. Read our FAQ section or leave a comment if you have any questions. Good luck!
This section will answer common questions about installing WordPress.
WordPress is free and easy to use, catering to users of all technical levels. Its vast selection of plugins and themes makes the CMS extremely flexible and powerful. While WordPress has a learning curve, plenty of tutorials are available due to its popularity.
Yes, WordPress.org is a free, open-source CMS. However, you still need hosting and a domain name to launch a WordPress website and make it available online.
Hostinger users can follow the WordPress onboarding flow or use the built-in auto installer in their hPanel. Alternatively, use Softaculous in other hosting control panels or manually install WordPress by uploading the core files to your hosting account and running the installation script on a browser.
You don’t have to install WordPress on your computer, but it’s great for learning and testing features before pushing your updates to the live website. For general use, you just need to install WordPress on a hosting account.
Comments
June 12 2017
but from where and how to Run WordPress 5-minute Installation Wizard?
June 15 2017
Hey, If you have account on Hostinger, use auto-installer to install WordPress
July 07 2017
its no longer available :(
July 20 2017
yes sir plzzzzzz solve it for us or give a solution
June 27 2017
i am installing wordpress mannuly but where and how to Run WordPress 5-minute Installation Wizard?
June 27 2017
Hey, If you have uploaded WordPress files, access your domain name via browser. You should be presented with WordPress five minute install.
August 14 2017
how to Run WordPress 5-minute Installation Wizard?
August 17 2017
Hey, Upload WordPress files, and visit your domain to start 5 minute wordpress installation
March 10 2020
Good luck
July 15 2020
I am a beginner and this article I've found after deep research. And this is such an awesome content. Very helpful and understandable. Thanks, keep sharing!
January 26 2022
I had a SSL certificate for my domain. So should I use https://example.com rather than http://example.com for wordpress installation in hostinger? Please help!
February 04 2022
Hi there, yes it's best practice to use HTTPS, but if you install on HTTP initially, that's okay too - you can later create a redirect to HTTPS through .htaccess file.
September 07 2023
I have a local host WordPress website. i want to upload on hosting server plz tell me which file of my WordPress website need to upload on hosting server? or I need to upload whole folder of my website on hosting server?? Please help!
September 08 2023
Hello there! Yes you will need to upload all of the files and also import the database. Here's a tutorial how to do it. Alternatively, you can locally install a plugin like Duplicator and generate a website file. Once that's done install a blank WP website on hosting server, install a Duplicator plugin and upload the whole website with one click. Here's a tutorial about that.