Configuration Management Tool

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

image-42

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. http://www.threatposter.com
  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.

image-45
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 www.xzywebsite.com/cpanel. In this guide we are assuming xyzwebsite.com 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:

image-44
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

image-46
File Manager

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

image-47
File Manager Screen

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

image-48
Uploading File

You need to extract the zip file into public_html

image-49
WordPress File Extraction

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.

image-50
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.

image-52
Database Creation

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

image-53
Database Creation

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

image-54
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.

image-55
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.

image-56
Installing WordPress

Click on Let’s go!

image-57
Installing WordPress

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

image-58
Installing WordPress

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

image-59
WordPress Installation

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

image-60
WordPress Installation

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

image-61
Installation Successful

You can now go ahead and log in to WordPress.

image-62
WordPress Login

Successfully logged in to WordPress Dashboard.

image-63
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.

image-64
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.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
Kindly subscribe to TechDirectArchive
This is default text for notification bar