How to Install WordPress on Your Hosting (Step-by-Step)

You've purchased your domain and hosting. Now it's time to install WordPress. If you've never done this before, the process might feel daunting — but it's actually one of the most straightforward tasks in web development.

Most web hosting providers make WordPress installation a matter of a few clicks. For those who prefer manual control, the manual installation process takes about 20 minutes and teaches you exactly how WordPress works at a fundamental level.

This guide covers both approaches — so you can choose the method that suits your comfort level.

What You Need Before Installing

Before installing WordPress, make sure you have:

A web hosting account: Any reputable shared hosting, VPS, or managed WordPress hosting plan. Good beginner options include SiteGround, Hostinger, Bluehost, and Cloudways.

A domain name: Either registered through your hosting provider (often included free for the first year) or through a separate registrar (Namecheap, GoDaddy) with DNS pointing to your hosting.

Hosting access credentials:

  • Your cPanel username/password (or equivalent control panel)
  • FTP credentials (hostname, username, password)
  • Database management access (phpMyAdmin)
01
One-Click Installation via cPanel / Softaculous (Easiest)

The vast majority of hosting providers use Softaculous or a similar auto-installer to provide one-click WordPress installation. This is the recommended method for beginners — it handles the database creation, file installation, and configuration automatically.

Step 1: Log In to cPanel

Log in to your hosting control panel using the credentials your hosting provider emailed you. The URL is typically yourdomain.com/cpanel or yourdomain.com:2083.

Step 2: Find the WordPress Installer

In cPanel, look for one of these:

  • Softaculous Apps Installer (most common) — find the WordPress icon
  • WordPress Manager by Softaculous
  • Installatron Applications Installer
  • Or a dedicated WordPress icon in the "Website" or "CMS" section

Click the WordPress icon.

Step 3: Start the Installation

Click Install Now (in Softaculous) or Install button.

Step 4: Configure Installation Settings

Fill in the installation form:

Choose Protocol:

  • Select https:// if you have an SSL certificate installed (recommended)
  • Select http:// if SSL isn't yet active

Choose Domain:

  • Select your domain from the dropdown
  • Leave the "In Directory" field empty to install at the root (yourdomain.com)
  • Or enter blog to install in a subdirectory (yourdomain.com/blog)

Site Settings:

  • Site Name: Your website's name (can be changed later in WordPress Settings)
  • Site Description: Brief tagline (can be changed later)

Admin Account (most important settings on this page):

  • Admin Username: Choose a unique username — never use "admin" (it's the first thing attackers try)
  • Admin Password: Generate or create a strong password (minimum 16 characters, mix of letters, numbers, symbols)
  • Admin Email: Your email address — WordPress sends important notifications here

Advanced Options (optional):

  • Database Name: Softaculous creates this automatically — you can leave it as is
  • Table Prefix: Leave as wp_ unless you have a specific reason to change it

Step 5: Install

Scroll to the bottom and click Install. Softaculous will:

  1. Create a new MySQL database
  2. Download and extract WordPress files
  3. Configure wp-config.php with your database credentials
  4. Run the WordPress installation

The process takes 1–3 minutes. When complete, Softaculous shows your site URL and admin URL, usually with a clickable link.

Step 6: Log In to Your New WordPress Site

Go to yourdomain.com/wp-admin and log in with the admin username and password you set in Step 4.

Done! You're now in your WordPress dashboard. WordPress is installed.
02
Manual WordPress Installation (Full Control)

If you prefer to understand exactly what's happening, or if your host doesn't provide Softaculous, the manual method installs WordPress step by step.

Step 1: Download WordPress

  1. Go to wordpress.org/download
  2. Click Download WordPress
  3. Download the .zip file to your computer
  4. Extract (unzip) the downloaded file — you'll get a folder called wordpress

Step 2: Create a MySQL Database

  1. Log in to cPanel
  2. Go to Databases → MySQL Databases
  3. In "Create New Database," enter a database name (e.g., mysite_wp)
  4. Click Create Database
  5. Scroll down to "MySQL Users" → create a new user with a strong password → note the username and password
  6. Scroll to "Add User to Database" → select your new user and database → click Add
  7. On the next page, select All Privileges → click Make Changes
Note these three values: Database name (e.g., youraccount_mysite_wp), Database username (e.g., youraccount_wpuser), Database password. You'll need them in the next step.

Step 3: Configure wp-config.php

  1. Open the extracted wordpress folder on your computer
  2. Find the file named wp-config-sample.php
  3. Make a copy of it and rename the copy wp-config.php
  4. Open wp-config.php in a text editor (Notepad, VS Code, etc.)
  5. Find and update these lines:
PHP
define( 'DB_NAME', 'database_name_here' );
// Replace with your database name, e.g., 'youraccount_mysite_wp'

define( 'DB_USER', 'username_here' );
// Replace with your database username

define( 'DB_PASSWORD', 'password_here' );
// Replace with your database password

define( 'DB_HOST', 'localhost' );
// Leave as 'localhost' for most hosts
  1. Update the security keys and salts. Visit api.wordpress.org/secret-key/1.1/salt/ — it generates unique values. Copy the entire output and replace the placeholder key section in your wp-config.php.
  2. Save wp-config.php

Step 4: Upload WordPress Files to Your Server

  1. Open your FTP client (FileZilla — free)
  2. Connect to your server with your FTP credentials (hostname, username, password, port 21)
  3. On the right side (server), navigate to your web root directory (public_html or www)
  4. On the left side (local), navigate to your extracted wordpress folder
  5. Select all contents of the wordpress folder (not the folder itself — the contents inside it)
  6. Drag them to the right side (server's public_html)
  7. Wait for the upload to complete (hundreds of files — takes a few minutes)

Step 5: Run the WordPress Installer

  1. Visit yourdomain.com in your browser
  2. WordPress detects the files are present and launches the installation wizard
  3. Select your language and click Continue
  4. Fill in: Site Title, Username (not "admin"), Password (strong), Your Email
  5. Leave "Search Engine Visibility" unchecked unless you're still building
  6. Click Install WordPress
  7. Click Log In and log in with your new credentials
Done! Installation complete. You're in your WordPress dashboard.

What to Do Immediately After Installing WordPress

Once WordPress is installed, complete these essential setup steps before building your site:

1. Set Your Permalink Structure

Go to Settings → Permalinks → select Post name → Save Changes.

This sets your URLs to yourdomain.com/post-title/ instead of yourdomain.com/?p=123 — much better for SEO.

2. Delete Default Content

  • Go to Posts → All Posts → delete "Hello World"
  • Go to Pages → All Pages → delete "Sample Page" (or edit it for your use)
  • Go to Comments → All Comments → delete the default comment

3. Update Settings

Go to Settings → General and set:

  • Site Title and Tagline
  • Your timezone
  • Date format

Go to Settings → Reading and verify "Search engine visibility" is NOT checked.

4. Install an SSL Certificate

If you didn't install SSL before WordPress installation, do it now:

  • In cPanel: Security → SSL/TLS Status or find Let's Encrypt SSL
  • Install a free SSL certificate for your domain

After installing SSL, go to Settings → General and update both URLs to use https://.

5. Install Essential Plugins

Minimum plugin setup:

  • Rank Math SEO — SEO, sitemap, meta tags (run the setup wizard after installing)
  • UpdraftPlus — Automated backups (configure to back up daily and store in Google Drive)
  • Wordfence — Security scanning and firewall
  • WP Super Cache or WP Rocket — Page caching for speed

6. Choose and Activate a Theme

Go to Appearance → Themes → Add New and search for:

  • Astra — Fast, versatile, excellent free option
  • Kadence — Modern, excellent block editor support
  • Twenty Twenty-Four — Official WordPress theme, clean and fast

Activate your chosen theme.

Troubleshooting Common Installation Issues

Error Message Cause Fix
"Error Establishing a Database Connection" wp-config.php database credentials don't match Double-check database name, username, password, and host (usually localhost)
White screen after install PHP memory issue Add define('WP_MEMORY_LIMIT', '256M'); to wp-config.php
"Sorry, you are not allowed to access this page" User account lacks administrator capabilities Check in phpMyAdmin that your user's wp_capabilities in wp_usermeta contains administrator
Images aren't uploading after install wp-content/uploads/ directory permissions Set it to 755 via FTP
Can't access wp-admin Domain not pointed to hosting DNS propagation can take up to 48 hours after registering or transferring a domain

Method Comparison

Feature One-Click (Softaculous) Manual Installation
Time Required2–5 minutes15–25 minutes
DifficultyBeginnerIntermediate
Tools NeededJust cPanel accessFTP client, text editor
Database SetupAutomaticManual via cPanel
Control LevelMinimalFull understanding
Best ForMost usersLearning, non-cPanel hosts

Frequently Asked Questions

Q: Do I need technical skills to install WordPress?
A: Not for the one-click Softaculous method. Any beginner can complete it in 10 minutes following this guide. The manual method requires basic comfort with FTP and text editors — most technical beginners can handle it.
Q: Can I install WordPress on a subdomain?
A: Yes. In cPanel, create a subdomain (e.g., blog.yourdomain.com) and then install WordPress at that subdomain's directory.
Q: What should I do if I make a mistake during installation?
A: Delete the WordPress files via FTP, drop the database via phpMyAdmin, and start again. At this stage before any content, starting over is always faster than diagnosing installation errors.
Q: Is WordPress free to install?
A: The WordPress software is completely free. You pay for your hosting and domain — not for WordPress itself.
Q: Can I move WordPress from one host to another later?
A: Yes. WordPress can be migrated between hosts using plugins like All-in-One WP Migration or Duplicator. The process is straightforward but worth doing carefully — back up everything before migrating.
Q: Should I install WordPress in a subdirectory or root?
A: For most websites, install at the root (yourdomain.com). Install in a subdirectory (yourdomain.com/blog) only if you have an existing website at the root that you want to keep separate from your WordPress blog.

Final Thoughts

Installing WordPress is genuinely simple — and if you use the Softaculous one-click installer, it's something any complete beginner can accomplish in under 15 minutes. The manual method takes longer but builds foundational understanding of how WordPress works.

After installation, work through the post-install checklist: set your permalink structure, configure SSL, install essential plugins, and choose a theme. These steps turn a fresh WordPress installation into a professional, functional website foundation.

Need help installing and configuring WordPress the right way? Our team handles complete WordPress setups — from hosting to launch — so you can focus on your business.

Contact us today and we'll sort it out.
Views: 94