WordPress is a great Content Management System used to design many kinds of websites. This platform has varied themes & plugins that make your work easier. In this tutorial, you will learn how to install WordPress on cPanel manually.
Download WordPress CMS
Firstly, you need to download the latest WordPress version from the WordPress website. So, you must download the zip file & save it on your desktop.
After that, you are supposed to go to the directory and extract the entire archive. Also, you can note down the location of content extracted as you will need to upload it to the web server.
Upload WordPress Install Script to Web Server
You can follow the below-mentioned steps. This is the first step on how to install WordPress on cPanel.
- Firstly, go to domain_name.com/cpanel to access your cPanel account.
- Enter the user ID and Password to login into the account.
- Open file manager and search for the public_html directory. In this directory, you will store all your websites.
- Thereafter, you are required to select a specific location for your website. Choose any one of the below options:
Save it in your domain’s root directory (domain_name.com/)
In the first way, you need to upload every content of your WordPress folder. However, make sure that you do not upload the folder itself. All your WP files & subfolders should be saved in public_html.
Save it in a subfolder of your domain (domain_name.com/instance1)
In the second way, you need to upload the entire WordPress folder. After that, make sure that you rename it with your desired name.
- Once you have extracted the WordPress installation archive, you can delete the web file from the server.
All your important WordPress files & folders should be listed in the WordPress folder. So, you can start the WordPress install.
Make sure that you have the below elements before you before you learn how to install WordPress on cPanel.
- MySQL Database & its user credentials
- MySQL Database host
- Table prefix
So, follow the below steps:
Create MySQL Database & Database user
You will find cPanel’s MySQL Database Wizard under the Database heading.
- Firstly, you need to create & name a Database. Remember this Database name as you will need to refer to it later on.
- Proceed to the Next Step to create the Database.
Create Database Users
This is the next step in learning how to install WordPress on cPanel. So, it involves creating Database users.
- Firstly, you will need to enter the username & password. The username should contain seven characters maximum. Your password should turn green & read as strong for security purposes.
- Make sure that you note down your password for future references.
Assign user & its permissions to Database
You need to give database access to the new user.
- Search for the ‘Add User to Database’ section on the page.
- Select the newly created username under the drop down menu. Then, click ‘Add’.
- Further, you need to add the database privileges. Tick on the ‘All Privileges’ checkbox for the initial database user. After that click on ‘Make Changes’.
- Verify the changes by viewing the current database. The privileged user should be assigned to the database.
In the end, you can open domain_name.com and complete the installation.
Finish the installation by running WordPress Install Scripts
Lastly, you can run the install script to verify the installation.
- Search http://domain_name.com/wp-admin/install.php if you have uploaded the files to the root directory.
- Search http://domain_name.com/site1/wp-admin/install.php if you have uploaded files to a subfolder.
In every case, you will need to upload the database details to verify the installation done.
Finish the WordPress Installation
This is the final step for learn how to install WordPress on cPanel. You need to enter Site Title, WordPress username, Email Address, and Password. These email address & password credentials are for your WordPress login. So, make sure that you do not enter the username & password used for database users.
In the end, you can click on Install WordPress. So, this is how you will be redirected to the login page.
If you follow every step mentioned above, you can easily learn how to install WordPress on cPanel.