Configuration Management Tool

How to Install and Setup WordPress into a cPanel and Configure Your First WordPress Theme

WordPress installation guide

cPanel is a Linux-based GUI that is used to control, manage, organize and improve WordPress, Joomla, and any other type of website. With cPanel you can publish your website, manage your domains, and hosting and organizing the entire data on your website and many other features are available. cPanel is one of the most popular if not the most popular control panel in the world. A WordPress theme is one of the most popular Content Management Systems (CMS) that is used by millions of bloggers and website developers in the world, it is a website template that comprises a group of files like the graphics, stylesheets, colors, and many others. A WordPress theme controls the general outlook, layout, and even hyperlinks on your website.

If you like deployment of your website to either Azure or AWS kindly refer to these related guides: How to deploy your Angular App to Azure from Visual Studio Code, how to deploy an Angular App to AWS S3, how to Deploy Dynamic Website to AWS EC2, How to host Static Website and Versioning on AWS S3.

You need to have the below Prerequisites before you can install and setup:

  1. A domain name e.g.
  2. Web hosting account that supports cPanel, PHP and MySQL. e.g qservers web hosting
  3. A cPanel username and password.

In this guide I will be showing you how to do the following:

  1. Downloading of WordPress CMS
  2. Log in to cPanel and uploading WordPress files
  3. Creating a Database, DB User and adding the User to Database
  4. Installing WordPress

Follow the below steps as we begin the journey of installing and setting up WordPress inside cPanel.

  1. Downloading WordPress

Go to the WordPress website to download WordPress.

cPanel WordPress setup
WordPress Download Page

2. Log in to your cPanel Account

After getting all the prerequisites you can now login into your cPanel account by typing In this guide we are assuming is our domain name with active hosting on it. Enter the username and password that was given to you by your hosting provider. The Cpanel login page looks like the below:

First WordPress theme configuration
cPanel Login Page

3. Upload your WordPress Files

After downloading WordPress and login into cPanel the next step is to upload the downloaded WordPress files. Go to the Files section and click on File Manager

Setting up WordPress on cPanel
File Manager

On the next page click on public_html. After it opens then click on the upload button at the top.

File Manager Screen

locate the WordPress zip file you downloaded to your system and upload the zip file.

Uploading File

You need to extract the zip file into public_html

WordPress File Extraction

How to Install and Setup WordPress into a cPanel

After extracting it you need to cut all the files out from the parent folder and paste them directly into the public_html folder. You can now delete the WordPress zip file. All the files will look like the below image.

WordPress Files

4. Creating a Database, DB User and adding the User to Database

Now it is time to create a database and database user. Scroll down to the Databases section and click on MySQL Database.

Database Creation

Enter the name you want to use for the database and click on Create Database

Database Creation

Then you need to create the DB User for the Database created.

Database User Creation

After creating the DB User then you need to add the user created to the Database by selecting the user and the database and click the Add button. On the next page, you can give it ALL PRIVILEGES and click on the Make Changes button.

Connecting User to Database

5. Installing WordPress

After the creation of the Database and the DB User the next step is to install the WordPress. write the domain name into the browser and hit the enter key, the below image will display. Make sure you select English as the language and click on Continue.

Installing WordPress

Click on Let’s go!

Installing WordPress

Database Configuration: Entering Previously Created Database Name and User

On the next page, you need to enter the Database Name and User name you created earlier and submit

Installing WordPress

If all the details you submitted are right, then you can go ahead and run the installation.

WordPress Installation

Then you see a welcome page where you will supply some information that is needed before WordPress installation can begin.

WordPress Installation

If all the information is supplied and everything goes well then you will receive a success! message

Installation Successful

You can now go ahead and log in to WordPress.

WordPress Login

Successfully logged in to WordPress Dashboard.

WordPress Dashboard

You can start using default themes or adding your preferred themes. Go to Appearance on the menu and select Themes. You can use the Add New or the Add New Theme button to add themes.

WordPress Themes

I hope you found this blog post on How to Install and Setup WordPress into a cPanel and Configure Your First Theme very interesting and helpful. In case you have any questions do not hesitate to ask in the comment section.

Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x