How to Install WordPress on Hosting

 



So you've bought a domain name, signed up for a hosting plan, and now you're staring at your hosting dashboard wondering — okay, what do I do next?

Installing WordPress is the first real step toward building your website, and the good news is it's a lot easier than most people expect. Whether you're setting up a blog, a business site, or an online store, this guide walks you through the whole process from start to finish.

By the end of this post, you'll have a fully working WordPress site ready to customize.


What You Need Before You Start

Before installing WordPress, make sure you have these three things in place:

A domain name — This is your website's address (like yoursite.com). You can buy one from registrars like Namecheap, GoDaddy, or directly through your hosting provider.

A hosting plan — You need a server to host your website files. Popular options include Hostinger, Bluehost, SiteGround, and A2 Hosting. Shared hosting plans are perfect for beginners and typically cost between ₹70–₹300/month (about $1–$4/month).

Your domain pointed to your hosting — If you bought your domain and hosting from different places, you'll need to update your domain's nameservers to point to your host. Your hosting provider will give you the nameserver details, and you update them from your domain registrar's dashboard.

Method 1: One-Click Install via Softaculous (Easiest Method)

Most hosting providers — including Hostinger, Bluehost, SiteGround, and dozens of others — include a tool called Softaculous in their cPanel. This lets you install WordPress in literally a few clicks without touching any code or files.

This is the method most beginners should use.

Step-by-Step: Installing WordPress with Softaculous

  1. Log in to your hosting account and open cPanel (usually found at yourdomain.com/cpanel or through your hosting dashboard).
  2. Find the Softaculous Apps Installer — Scroll down to the "Software" section and look for the Softaculous icon. Some hosts label it "WordPress Installer" or "Auto Installer."
  3. Click on WordPress — Inside Softaculous, you'll see a list of popular scripts. Click on WordPress.
  4. Click "Install Now" — This opens the installation form.
  5. Fill in your installation details:
    • Choose Protocol: Select https:// if you have an SSL certificate (most modern hosts include free SSL). If not, use http://.
    • Choose Domain: Select your domain from the dropdown.
    • In Directory: Leave this blank if you want WordPress installed at your root domain (yourdomain.com). Type a folder name like blog only if you want it at yourdomain.com/blog.
    • Site Name: Enter your website's name.
    • Site Description: A short tagline describing your site.
    • Admin Username: Choose something other than "admin" — it's a common hacking target.
    • Admin Password: Use a strong password. At least 12 characters with a mix of letters, numbers, and symbols.
    • Admin Email: Enter a valid email address — this is where password reset links will go.
  6. Choose your language — English is selected by default. Change it if needed.
  7. Scroll down and click "Install" — Softaculous will now install WordPress for you. This takes about 30–60 seconds.
  8. Installation complete! You'll see a confirmation screen with two important links:
    • Your website URL: https://yourdomain.com
    • Your WordPress admin login: https://yourdomain.com/wp-admin

Save these links. You'll use the admin URL every time you want to log in and manage your site.


Method 2: Installing WordPress on Hostinger (Using hPanel)

If you're on Hostinger, the dashboard looks a little different from standard cPanel — they use their own custom panel called hPanel. The process is still very straightforward.

  1. Log in to your Hostinger account at hpanel.hostinger.com.
  2. Go to Hosting → Manage next to your hosting plan.
  3. In the hPanel dashboard, find the WordPress section or click Auto Installer.
  4. Click Install next to WordPress.
  5. Fill in your site details — domain, admin username, password, and email.
  6. Click Install and wait about a minute.
  7. Once done, visit yourdomain.com/wp-admin to access your dashboard.

Hostinger also offers a WordPress-optimized hosting plan that comes with WordPress pre-installed when you sign up, saving you even this step.


Method 3: Manual WordPress Installation (For Advanced Users)

If your hosting doesn't include Softaculous, or you simply want more control, you can install WordPress manually. It takes a few more steps but isn't difficult once you understand the process.

Step 1: Download WordPress

Go to wordpress.org/download and download the latest version of WordPress. You'll get a .zip file.

Step 2: Create a MySQL Database

  1. Open cPanel and go to MySQL Databases.
  2. Under "Create New Database," type a name for your database (e.g., mysite_db) and click Create Database.
  3. Scroll down to "MySQL Users" and create a new user with a strong password.
  4. Under "Add User to Database," select your new user and database and click Add.
  5. On the privileges screen, select All Privileges and confirm.

Write down your database name, username, and password — you'll need these shortly.

Step 3: Upload WordPress Files

  1. Extract the WordPress .zip file on your computer. You'll get a folder called wordpress.
  2. Open an FTP client like FileZilla (free download at filezilla-project.org).
  3. Connect to your server using your FTP credentials (found in cPanel under "FTP Accounts").
  4. Navigate to the public_html folder on your server.
  5. Upload the contents of the wordpress folder into public_html (not the folder itself — just what's inside it).

This upload may take a few minutes depending on your internet speed.

Step 4: Configure wp-config.php

  1. In your public_html folder, find the file named wp-config-sample.php.
  2. Rename it to wp-config.php.
  3. Open it in a text editor and find these three lines:
  1. Replace database_name_here, username_here, and password_here with the database details you created in Step 2.
  2. Save the file and upload it back to your server, replacing the old version.

Step 5: Run the WordPress Installer

  1. Open your browser and go to yourdomain.com.
  2. You'll see the WordPress installation screen.
  3. Choose your language and click Continue.
  4. Fill in your site title, admin username, password, and email.
  5. Click Install WordPress.

What to Do Right After Installing WordPress

Once WordPress is installed, don't just jump into writing posts. Take 10 minutes to do these important first steps:

Set your permalinks — Go to Settings → Permalinks and select "Post name." This gives your URLs a clean structure like yourdomain.com/your-post-title instead of ?p=123.

Delete default content — WordPress comes with a sample post ("Hello World!"), a sample page, and a sample comment. Delete them from your dashboard.

Install an SSL certificate — If your host provides free SSL (most do via Let's Encrypt), activate it. Then go to Settings → General and make sure both your WordPress Address and Site Address start with https://.

Install essential plugins — A few must-haves for every new WordPress site:

  • Yoast SEO or Rank Math — For search engine optimization
  • UpdraftPlus — For automated backups
  • Wordfence or Sucuri — For security
  • WP Super Cache or LiteSpeed Cache — For faster load times
  • Akismet — For spam protection on comments

Choose a theme — Go to Appearance → Themes → Add New and pick a theme that fits your site's purpose. The free options in the WordPress repository are a solid starting point.


Common Installation Problems and How to Fix Them

"Error establishing a database connection" This usually means your database credentials in wp-config.php are wrong. Double-check your database name, username, and password.

"This site can't be reached" after installing Your domain may not be fully pointed to your hosting yet. DNS changes can take up to 24–48 hours to propagate worldwide.

WordPress installed in a subfolder instead of root If your site loads at yourdomain.com/wordpress instead of yourdomain.com, you uploaded the WordPress folder instead of its contents. Move all files from the wordpress subfolder up to public_html.

Admin email not receiving messages Make sure you used a real, active email address during installation. You can also install the WP Mail SMTP plugin to improve email deliverability from your WordPress site.


Conclusion

Installing WordPress on your hosting is one of those things that feels intimidating the first time but becomes second nature quickly. For most people, the Softaculous one-click installer is the easiest and fastest route — it takes under two minutes and handles everything automatically.

If you're on Hostinger, their hPanel installer is just as simple. And if you want full control, the manual method gives you a deeper understanding of how WordPress actually works under the hood.

Whichever method you choose, once WordPress is installed, the real fun begins — designing your site, publishing your first post, and building something you're proud to put your name on.


Frequently Asked Questions


Q1. Is WordPress free to install? 

Yes, WordPress itself is completely free. You only pay for hosting (₹70–₹300/month or $1–$4/month for shared hosting) and optionally a domain name (around ₹800–₹1,500/year or $10–$15/year).


Q2. How long does it take to install WordPress?

With the Softaculous one-click installer, WordPress can be installed in under 2 minutes. A manual installation typically takes 15–30 minutes the first time.


Q3. Can I install WordPress on any hosting provider? 

WordPress works on any hosting that supports PHP and MySQL, which includes virtually all shared, VPS, and managed hosting plans. Check that your host meets the minimum WordPress requirements before signing up.


Q4. What is the difference between WordPress.com and WordPress.org?

WordPress.org is the self-hosted version where you download the software and install it on your own hosting — this gives you full control. WordPress.com is a hosted service where the setup is done for you, but you have limited flexibility unless you're on a paid plan.


Q5. Do I need technical knowledge to install WordPress? 

Not at all. The Softaculous one-click installer requires no coding knowledge whatsoever. The manual method involves a bit more steps but is still beginner-friendly with a guide like this one.


Q6. Can I install WordPress on a subdomain? 

Yes. In Softaculous, simply choose your subdomain (like blog.yourdomain.com) from the domain dropdown during installation instead of your main domain.


Q7. What should I do if WordPress is already installed on my hosting? 

Some hosts pre-install WordPress when you sign up for a plan. In that case, just visit yourdomain.com/wp-admin, log in with the credentials provided by your host, and you're ready to go.


Q8. Can I change my WordPress admin username after installation?

WordPress doesn't allow you to change the username directly from the dashboard. The easiest workaround is to create a new admin user with your preferred username, log in with that account, and then delete the original admin user.

Previous Post Next Post