Paramclasses Academy - Blog

Tutorials Details

←
Post 6 of 40
→

How to Install WordPress on cPanel Hosting Step by Step ?

How to Install WordPress on cPanel Hosting Step by Step ?

November 13, 2026

1. Introduction

After purchasing a domain name and web hosting, the next step is to install WordPress on your hosting server.

cPanel is a web-based hosting control panel that allows users to manage website files, databases, domains, email accounts, SSL certificates, and other hosting services.

Many cPanel hosting providers offer Softaculous, an application installer that allows you to install WordPress without manually uploading all the installation files or creating a database yourself.

In this tutorial, you will learn two methods of installing WordPress:

  1. Automatic installation using Softaculous.

  2. Manual installation using cPanel File Manager and MySQL Database tools.

The automatic method is recommended for beginners. The manual method is useful for understanding how WordPress installation works internally.

2. Learning Objectives

After completing this tutorial, you will be able to:

  • Understand cPanel and its important features.

  • Access your cPanel hosting account.

  • Understand Softaculous Apps Installer.

  • Install WordPress automatically using Softaculous.

  • Configure the WordPress installation URL.

  • Set up a secure WordPress administrator account.

  • Understand database creation in cPanel.

  • Upload WordPress files using File Manager.

  • Configure WordPress database credentials.

  • Complete the manual WordPress installation.

  • Access the WordPress admin dashboard.

  • Troubleshoot common installation problems.

3. What Is cPanel?

cPanel is a hosting control panel used to manage different services associated with a web hosting account.

It provides a graphical interface, so users can perform hosting-related tasks without using command-line instructions.

3.1 Important Features of cPanel

File Manager

Allows you to upload, download, edit, move, rename, and delete website files.

MySQL Databases

Allows you to create and manage MySQL databases and database users.

phpMyAdmin

Provides a browser-based interface for managing database tables and executing SQL queries.

Domains

Allows you to manage domains and their associated document roots, depending on your hosting configuration.

SSL/TLS

Provides tools for viewing and managing SSL certificates.

Email Accounts

Allows you to create and manage email accounts associated with your domain.

Softaculous Apps Installer

Allows you to install supported applications such as WordPress through an automated installation process.

Backup

Provides backup and restoration tools, depending on the hosting plan.

3.2 What Is Softaculous?

Softaculous is an application installer available with many hosting control panels.

It simplifies the installation of applications by automating tasks such as:

  • Downloading application files.

  • Creating or configuring a database.

  • Setting up application files.

  • Configuring installation details.

  • Completing the installation process.

For WordPress, Softaculous provides an installation form where you select the domain, installation directory, site information, and administrator credentials.

Not every hosting provider includes Softaculous. Some provide WP Toolkit or their own WordPress installer instead.

4. Requirements Before Installing WordPress

Before starting the installation, make sure you have the following:

  1. A registered domain name.

  2. An active cPanel hosting account.

  3. Access to your hosting control panel.

  4. A domain configured to point to your hosting account.

  5. An active SSL certificate if you want to install WordPress using HTTPS.

  6. A working email address.

  7. A secure administrator password.

4.1 Check WordPress Server Requirements

WordPress recommends the following modern hosting baseline:

  • PHP 8.3 or greater.

  • MariaDB 10.11 or greater, or MySQL 8.0 or greater.

  • HTTPS support.

  • Apache or Nginx is recommended.

Check the current WordPress requirements and confirm that your hosting provider supports them.

4.2 Understand the Installation Directory

The installation directory determines where WordPress files will be stored.

For a typical primary domain, the document root is often:

/home/username/public_html/

For an installation inside a subdirectory:

/home/username/public_html/blog/

The exact document root can vary depending on your hosting account and domain configuration.

If you want your website to open directly at https://example.com, install WordPress in the domain's document root.

If you install it inside a folder named blog, the website will generally open at:

https://example.com/blog

5. Method 1: Install WordPress Using Softaculous

This is the easiest method for beginners.

Step 1: Log In to cPanel

First, open the cPanel login page provided by your hosting company.

A common cPanel secure login address is:

https://example.com:2083

Your hosting provider may supply a different login URL.

Enter your cPanel username and password.

Click the Log in button.

After successful authentication, the cPanel dashboard will open.

Step 2: Find Softaculous Apps Installer

Inside the cPanel dashboard:

  1. Locate the Software section.

  2. Search for Softaculous Apps Installer.

  3. Click the Softaculous icon.

  4. Wait for the Softaculous interface to load.

If you cannot find it, use the cPanel search bar and search for:

Softaculous

Some hosting providers use different application installers. If Softaculous is unavailable, check whether WP Toolkit or another WordPress installer is provided.

Step 3: Select WordPress

After opening Softaculous:

  1. Find the Blogs category.

  2. Select WordPress.

  3. Open the WordPress installation page.

  4. Click the Install button.

Softaculous will display a configuration form.

Step 4: Configure Software Setup

The Software Setup section contains important installation settings.

Choose Protocol

Select the protocol for your website.

For example:

https://

Choose HTTPS only when the domain's SSL certificate is active and working.

Choose Domain

Select the domain on which you want to install WordPress.

Example:

example.com

In Directory

This field determines the installation folder.

For installation directly on the main domain, leave this field empty.

For installation inside a subdirectory, enter:

blog

The resulting website address will be:

https://example.com/blog

Choose Version

Select the current stable WordPress version offered by the installer.

Avoid installing outdated versions unless you have a specific compatibility requirement.

Step 5: Configure Site Settings

The Site Settings section contains basic website information.

Site Name

Enter the name of your website.

Example:

Param Classes

Site Description

Enter a short description of your website.

Example:

Learn Programming and Web Development

These details can be changed later from the WordPress dashboard.

Enable Multisite

Leave this option disabled for a normal single-site WordPress installation.

WordPress Multisite is a separate feature used to manage multiple websites through one WordPress installation.

Step 6: Configure the Administrator Account

This is one of the most important installation steps.

Admin Username

Choose a unique administrator username.

Example:

param_manager

Avoid predictable usernames such as:

admin
administrator

Admin Password

Create a strong, unique password.

Use a password manager to generate and securely store it.

Admin Email

Enter an email address that you can access.

WordPress may use this address for important notifications and account recovery.

Important: Never use your database username and password as your WordPress administrator credentials. They are separate accounts.

Step 7: Select Language

Choose the language in which you want to use WordPress.

For example:

English

You can change the website language later from the WordPress dashboard.

Step 8: Configure Advanced Options

Depending on your Softaculous version, you may see options such as:

  • Database name.

  • Table prefix.

  • Automatic backup.

  • Automatic updates.

  • Backup retention.

  • Installation notifications.

For a new website:

  • Use a unique database name if you customize it.

  • Consider a non-default table prefix.

  • Enable suitable backup options if available.

  • Configure updates according to your maintenance plan.

Changing the table prefix is only a minor hardening measure; it does not replace strong passwords, updates, backups, and proper access controls.

Step 9: Start WordPress Installation

Before installing, review all configuration details.

Confirm:

  • Correct domain.

  • Correct protocol.

  • Correct installation directory.

  • Website title.

  • Administrator username.

  • Administrator email.

  • Backup and update settings.

Now click the Install button.

Softaculous will automatically perform the installation process.

Wait until the installation is complete.

Do not refresh or close the installation page while the process is running.

Step 10: Verify Successful Installation

After successful installation, Softaculous displays a confirmation message.

You will generally see two links:

Website URL

https://example.com

Administrative URL

https://example.com/wp-admin/

Open the website URL to check the public-facing website.

Open the administrative URL to access the WordPress login page.

6. Method 2: Manual WordPress Installation Using cPanel

In this method, you will manually upload WordPress files, create a database, configure database credentials, and run the WordPress installation process.

This method helps you understand how WordPress communicates with its database.

Step 1: Download WordPress

Open the official WordPress download page:

https://wordpress.org/download/

Download the latest stable WordPress package.

The downloaded file is generally a ZIP archive.

Example:

wordpress.zip

Save the file on your computer.

Step 2: Log In to cPanel

Open your hosting provider's cPanel login page.

Enter your login credentials.

After successful login, locate:

Files → File Manager

Click File Manager.

Step 3: Open the Website Document Root

Inside File Manager, open the directory associated with your domain.

For a typical primary domain, this is often:

public_html

Before uploading anything, check the directory carefully.

If it already contains a website, do not overwrite or delete its files.

For a fresh domain installation, verify that the intended document root is ready.

Step 4: Upload WordPress ZIP File

Inside the correct document root:

  1. Click Upload.

  2. Select the WordPress ZIP file from your computer.

  3. Wait for the upload to complete.

  4. Return to File Manager.

You should now see the uploaded ZIP archive.

Step 5: Extract WordPress Files

Select the uploaded ZIP file.

Click the Extract option.

After extraction, cPanel generally creates a folder named:

wordpress

Open that folder.

You should see files and directories such as:

wp-admin/
wp-content/
wp-includes/
index.php
wp-config-sample.php
wp-login.php
wp-settings.php

For installation directly on the main domain, move the contents of the wordpress folder into the domain's document root.

The final structure should look like this:

public_html/
│
├── wp-admin/
├── wp-content/
├── wp-includes/
├── index.php
├── wp-config-sample.php
├── wp-login.php
└── wp-settings.php

Do not leave all WordPress files inside the wordpress subfolder unless you intentionally want the website to open from that subdirectory.

Step 6: Create a MySQL Database

Return to the cPanel dashboard.

Locate:

Databases → MySQL Database Wizard

Click MySQL Database Wizard.

If your hosting provider does not offer this wizard, use MySQL Databases to create the database and user.

Create Database

Enter a database name.

Example:

param_wp

Click Next Step.

Remember that cPanel may automatically add your hosting account prefix.

The actual database name could look like:

account_param_wp

Record the complete database name.

Step 7: Create a Database User

After creating the database, create a new database user.

Example:

param_user

Create a strong, unique database password.

Click Create User.

Record the complete database username, including any account prefix added by cPanel.

Step 8: Assign User Privileges

The next step is to connect the database user with the database.

Select the appropriate database user.

Select the database you created.

Click the option to assign or add the user to the database.

For a standard WordPress installation, the database user needs the privileges required by WordPress to create and modify its tables and data.

In the cPanel MySQL Database Wizard, selecting ALL PRIVILEGES is the usual setup for a dedicated WordPress database user.

Click Make Changes or the equivalent confirmation button.

Your database and user are now ready.

Step 9: Open the WordPress Installation URL

Open your browser.

Visit the domain where you uploaded the WordPress files.

Example:

https://example.com

If WordPress cannot find an existing configuration file, the installation process will begin.

Select your preferred language and continue.

Step 10: Enter Database Information

WordPress will request the database details.

Enter the following information:

Database Name

account_param_wp

Username

account_param_user

Password

Enter the database user's actual password.

Database Host

Many hosting providers use:

localhost

However, some providers use a different database hostname. Confirm this with your hosting provider if necessary.

Table Prefix

The default prefix is:

wp_

You can use a unique prefix such as:

pcsite_

The prefix should follow the format expected by WordPress and must not contain spaces.

After entering the details, click Submit.

If the database credentials are correct and the database user has the required privileges, WordPress will proceed to the next step.

Step 11: Run the WordPress Installation

After the database connection is successful, click:

Run the installation

WordPress will display the website configuration form.

Enter the following information:

Site Title

Param Classes

Username

param_manager

Password

Create a strong administrator password.

Your Email

Enter your valid email address.

Search Engine Visibility

During development, you may select the option to discourage search engines from indexing the website.

This setting sends a request to search engines. It does not make the website private or prevent people from accessing it.

When the website is ready to be indexed, review this setting under:

Settings → Reading → Search engine visibility

Click Install WordPress.

Step 12: Installation Completed

After the installation finishes, WordPress will display a success message.

You can now open the login page:

https://example.com/wp-admin/

Enter your WordPress administrator username and password.

Click Log In.

You should now see the WordPress Dashboard.

7. Understanding the WordPress Installation Files

After installation, WordPress creates several important files and folders.

7.1 wp-admin

This directory contains files responsible for the WordPress administration area.

It helps power the dashboard and administrative functions.

7.2 wp-content

This directory stores much of the website's customizable content.

It contains:

  • Themes.

  • Plugins.

  • Uploaded media.

  • Other WordPress content.

7.3 wp-includes

This directory contains core WordPress libraries, functions, and supporting files.

7.4 wp-config.php

This is an important WordPress configuration file.

It contains settings such as database connection information and other configuration values.

7.5 index.php

This is one of the main entry-point files used by WordPress to load the website.

Do not casually modify or delete WordPress core files.

8. Understanding wp-config.php

The wp-config.php file connects WordPress to its database.

A simplified example of its database configuration looks like this:

<?php

define('DB_NAME', 'account_param_wp');

define('DB_USER', 'account_param_user');

define('DB_PASSWORD', 'YOUR_STRONG_DATABASE_PASSWORD');

define('DB_HOST', 'localhost');

$table_prefix = 'pcsite_';

?>

This is an illustrative configuration example, not a complete production-ready WordPress configuration file.

The values must match your actual database configuration.

DB_NAME: The name of your WordPress database.

DB_USER: The database username.

DB_PASSWORD: The database user's password.

DB_HOST: The database server hostname.

$table_prefix: The prefix used for WordPress database tables.

Never publish your actual database password or share your wp-config.php file publicly.

9. How to Access the WordPress Dashboard

After installation, you can manage your website through the WordPress administration area.

Open:

https://example.com/wp-admin/

Enter your administrator username and password.

After successful login, the dashboard will appear.

The dashboard provides access to:

  • Posts.

  • Pages.

  • Media.

  • Appearance.

  • Plugins.

  • Users.

  • Tools.

  • Settings.

You will study these dashboard sections in detail in Module 3.

10. Post-Installation Checklist

After installing WordPress, perform the following checks.

10.1 Check the Website URL

Open the public website and verify that it loads correctly.

10.2 Check the Admin Login

Open /wp-admin/ and verify that the administrator login works.

10.3 Check HTTPS

Confirm that the website uses HTTPS and the SSL certificate is valid.

10.4 Check Website Settings

Review the site title, tagline, and website address.

10.5 Check WordPress Version

Verify that the installed WordPress version is supported and up to date.

10.6 Check Updates

Review available updates for WordPress, themes, and plugins.

Take a backup before applying major updates to an important website.

10.7 Check Backup Availability

Confirm that your hosting provider's backup system is working.

Maintain a separate backup when the website contains important data.

10.8 Remove Unnecessary Installation Files

If you uploaded ZIP archives or temporary files, remove them only after confirming that the installation is successful and that they are no longer required.

Do not delete WordPress core files or folders.

11. Common WordPress Installation Errors and Solutions

Problem 1: Softaculous Is Not Available

Reason: Your hosting provider may not include Softaculous.

Solution:

  • Search for WP Toolkit.

  • Check for another WordPress installer.

  • Contact hosting support.

  • Use the manual installation method.

Problem 2: Domain Is Not Opening

Reason: The domain may not be pointing to the correct hosting server.

Solution:

  • Check the domain's nameservers.

  • Verify the DNS records.

  • Confirm that the hosting account is active.

  • Allow time for DNS propagation.

  • Contact the domain registrar or hosting provider if necessary.

Problem 3: Error Establishing a Database Connection

Reason: WordPress cannot connect to the configured database.

Solution:

  • Check DB_NAME.

  • Check DB_USER.

  • Check DB_PASSWORD.

  • Verify DB_HOST.

  • Confirm that the database user is assigned to the database.

  • Verify the required database privileges.

Problem 4: WordPress Files Are Opening Inside a Subdirectory

Reason: The files may have been extracted into public_html/wordpress instead of the intended document root.

Solution:

  • Check the installation directory.

  • Move the WordPress files to the correct document root if appropriate.

  • Alternatively, intentionally use the subdirectory URL.

Take a backup before moving files on an existing website.

Problem 5: 403 Forbidden Error

Reason: File permissions, directory configuration, security rules, or hosting restrictions may be preventing access.

Solution:

  • Check file and directory permissions.

  • Verify the document root.

  • Check the .htaccess file.

  • Review hosting security restrictions.

  • Contact hosting support if necessary.

Do not apply broad or insecure permissions to every file.

Problem 6: 404 Not Found Error

Reason: The requested file or URL may not exist, or WordPress routing may not be configured correctly.

Solution:

  • Verify the installation directory.

  • Check the website URL.

  • Confirm that WordPress core files are present.

  • Review permalink and rewrite configuration.

Problem 7: White Screen After Installation

Reason: A PHP fatal error, plugin conflict, theme problem, or server configuration issue may be responsible.

Solution:

  • Check PHP error logs.

  • Review WordPress debugging information.

  • Temporarily disable recently added plugins if appropriate.

  • Switch to a compatible theme if needed.

  • Contact hosting support if the issue continues.

Do not immediately delete the entire WordPress installation.

Problem 8: SSL Certificate Is Not Working

Reason: SSL may not be installed, may be expired, or may not cover the selected domain.

Solution:

  • Check the SSL certificate status.

  • Install or renew the certificate.

  • Verify that the domain points to the correct hosting server.

  • Confirm that WordPress uses the correct HTTPS address.

  • Resolve mixed-content warnings if present.

12. Best Practices for WordPress Installation

Follow these practices when installing WordPress on cPanel hosting:

  1. Always use a supported WordPress version.

  2. Install WordPress in the correct document root.

  3. Use HTTPS when the SSL certificate is active.

  4. Create a unique administrator username.

  5. Use a strong administrator password.

  6. Keep administrator and database credentials separate.

  7. Use a dedicated database user for the WordPress database.

  8. Assign only the database privileges required for the installation and normal operation.

  9. Keep your database credentials private.

  10. Take a backup before changing important website files.

  11. Avoid installing unnecessary plugins during initial setup.

  12. Keep WordPress, themes, and plugins updated.

  13. Use a reliable backup and recovery process.

  14. Do not overwrite an existing website without checking its files.

  15. Test both the public website and the admin dashboard after installation.

13. Practical Project

Project Title: Install WordPress on cPanel Hosting

Project Objective

Install a fresh WordPress website on a cPanel hosting account using Softaculous.

If Softaculous is unavailable, complete the project using the manual installation method.

Project Details

Website Name: Param Classes

Domain: Your registered domain or a practice domain.

Platform: WordPress.org

Hosting Control Panel: cPanel

Installation Method: Softaculous or Manual

Installation Directory: Domain document root

Protocol: HTTPS, when SSL is active

Project Tasks

Task 1: Log in to your cPanel account.

Task 2: Locate Softaculous Apps Installer.

Task 3: Open the WordPress installation form.

Task 4: Select your domain and installation directory.

Task 5: Configure the website title and description.

Task 6: Create a secure administrator account.

Task 7: Review the installation settings.

Task 8: Install WordPress.

Task 9: Open the website in your browser.

Task 10: Log in to the WordPress admin dashboard.

Task 11: Verify HTTPS and check the website.

Expected Output

At the end of this project, you should have:

  • A working WordPress website.

  • A configured domain.

  • A working WordPress database.

  • A secure administrator account.

  • Access to the WordPress dashboard.

14. Conclusion

Installing WordPress on cPanel hosting is an important practical skill for WordPress developers.

Softaculous makes the installation process easier by automating file setup and database configuration.

Manual installation provides a deeper understanding of WordPress files, database creation, database users, configuration settings, and the installation process.

After completing this tutorial, you should be able to install WordPress on a supported cPanel hosting account and access its administration dashboard.


15. Frequently Asked Questions (FAQs)

Q1. What is cPanel?

cPanel is a web-based hosting control panel used to manage website files, databases, domains, email accounts, and other hosting services.

Q2. What is Softaculous?

Softaculous is an application installer that automates the installation of applications such as WordPress.

Q3. Is Softaculous required to install WordPress?

No. WordPress can also be installed manually using cPanel File Manager and database tools.

Q4. What is the difference between automatic and manual installation?

Automatic installation uses an application installer to perform most setup tasks, while manual installation requires you to upload files and configure the database yourself.

Q5. What is public_html?

public_html is a commonly used document root directory for a primary domain in cPanel hosting.

Q6. Where should I upload WordPress files?

Upload the WordPress files to the document root of the domain where you want the website to run.

Q7. What is the wp-admin folder?

It contains files responsible for the WordPress administration area.

Q8. What is the wp-content folder?

It stores themes, plugins, uploaded media, and other customizable website content.

Q9. What is the wp-includes folder?

It contains WordPress core libraries and supporting functions.

Q10. What is wp-config.php?

It is a configuration file that contains important WordPress settings, including database connection details.

Q11. Why does WordPress need a database?

WordPress uses a database to store website content, users, settings, and other structured information.

Q12. What is MySQL Database Wizard?

It is a cPanel tool that helps create a database, database user, and database privileges.

Q13. What is a database user?

A database user is an account used by an application such as WordPress to access a database.

Q14. What are database privileges?

Database privileges determine which operations a database user can perform on a database.

Q15. What is DB_NAME?

DB_NAME identifies the database used by WordPress.

Q16. What is DB_USER?

DB_USER identifies the database account used by WordPress to connect to its database.

Q17. What is DB_PASSWORD?

DB_PASSWORD contains the password associated with the database user.

Q18. What is DB_HOST?

DB_HOST specifies the database server hostname used for the WordPress database connection.

Q19. What is a table prefix?

A table prefix is a character sequence placed before WordPress database table names.

Q20. What is the WordPress admin URL?

The standard admin login URL is:

https://example.com/wp-admin/

Q21. Can I install WordPress inside a subdirectory?

Yes. You can install WordPress inside a folder such as blog and access it through example.com/blog.

Q22. What happens if I leave the In Directory field empty?

Softaculous generally installs WordPress directly into the selected domain's document root.

Q23. Why should I use HTTPS?

HTTPS encrypts communication between a website and its visitors and helps protect information transmitted over the connection.

Q24. Can I install multiple WordPress websites on one hosting account?

It depends on your hosting plan, available resources, domain configuration, and hosting restrictions.

Q25. What should I do after installing WordPress?

Verify the website, check the admin login, confirm HTTPS, review updates, configure backups, and prepare the dashboard for website development.

←
Post 6 of 40
→