Here, we will show you how to install WordPress using CPanel.
For the long, as we can remember, we have been talking about WordPress. Its tips and tricks, some excellent themes, and many more. But some people may wonder, what is WordPress?
WordPress is a content management system (CMS) that allows you to create and design a website for your blog, business, or portfolio. It can be a combination of themes, plugins, or codes that when applied, gives you that ultimate website that you desire.
How to Connect Hosting to Domain and vice-versa
Before you can install WordPress on your domain, you need first to connect your hosting to your domain, and vice versa which can be done by doing the following:
Locate the nameserver on the CPanel of your hosting provider. CPanel or Control Panel is present in all hosting providers and somewhat has the same content, so their purpose can be somewhat the same.
To locate the nameserver, head on to log in to CPanel, then click on the “Server Information” link usually found on the right side of the screen. Then search for the server name. That is your nameserver.
Now, head over to your domain name provider. In this example, we will be using NameCheap. Go to the “Domain list” and then find your desired domain and then click manage.
Once in the manage page, head over to the Name Server section and type, or copy and paste, the Server name you have found when doing the previous step.
Note: The placement of the buttons or styles can be different from one dashboard to another but the functions of each can be the same. This includes where to type the nameserver.
Next, we should connect your hosting to your domain. To do that, find the domain section in the CPanel and then click “Addon Domain”.
Type in the Domain name that you have created and after clicking “Add Domain”, your domain name should reflect on the file manager in CPanel.
After connecting the hosting with the domain and vice-versa, we can now proceed on how to install WordPress on your domain.
How to install WordPress on your domain
In CPanel, there are two ways to install WordPress, one is via web applications or via file manager. We will discuss both processes so you can choose your preferred way of installation.
First Procedure – Using The Web Applications
For the first procedure on how to install WordPress, first, you need to login to your CPanel account.
Then head over to “Web Applications” and click on “WordPress”.
You will then be taken to an installer called Installatron. Then click on “Install this application”.
After that, you will be taken to the installation page. On the “Domain” section, you can select the domains that you have entered including the domain that you have recently typed on the previous steps. After selecting the domain, scroll down to edit your login credentials and tweak the settings as you see fit.
After changing the settings and providing the credentials, click “Install” on the lower part of the screen to save changes and create your site.
Note: It usually takes around 30 mins – 1 hour to install WordPress on your domain depending on your providers. Usually, they will send an email confirmation that installation was successful and you can proceed to log in.
If the installation is done, you can then proceed to log in to your domain via typing your domain and adding “/wp-admin” at the end. For example, mydomain.com/wp-admin
You will then be taken to a login page where you will log in using the credentials you had created earlier and voila. You now have WordPress successfully installed.
Second Procedure – Using File Manager
For the second way on how to install WordPress, we will be using the File Manager.
After adding a domain to your CPanel, there will be a folder for it in the File Manager. If you click on it you will be taken to a list of different folders kinda like the files on your computer.
On the left side, your domain should be in one of the folders. After clicking on that folder, you can find that there is nothing inside.
Download WordPress files at WordPress.org. After downloading the files, upload it to the file manager.
After uploading the files, the files should show up on your selected folder then extract it. Find the file that is named “wp-config-sample.php”.
Rename the file to “wp-config.php” then right-click then edit. On the edit page, you will find yourself with a lot of codes. Don’t worry. The part where you will edit is the “DB_NAME” or Database Name, “DB_USER” or Database User, and “DB_PASSWORD” or Database Password.
To create details of each, head over the CPanel Dashboard and then click “MySQL Database Wizard”.
In the wizard type in your domain. For this example, we will be using “mydomain” as our domain. After encoding the domain, click on the “create database”.
Note: As you may have noticed, there is a wcsitede_ before the type box where you input your domain. In that regard, our DB_NAME will be wcsitede_mydomain same as the DB_USER which will also become wcsitede_wcsited.
Then you will be taken to step 2 which is creating a database username and password. These usernames and passwords will be typed in the DB_USER and DB_PASSWORD area, respectively.
Then click on “Save Changes”
Wait for around 30 mins to 1 hour and then log in to your domain using /wp-admin. Select the appropriate data for your WordPress site. After that, you will be taken to the dashboard of your WordPress site.
And those are the 2 ways on how to install WordPress using CPanel. Now you may be asking yourself, “Why are there 2 ways when both have the same result?”
For the first procedure, using Installatron, a Cpanel WordPress Application, is a very user-friendly way because it doesn’t require much to do. You just have to simply point and click. This is especially useful for an owner that owns one or two websites.
For the second procedure, using the file manager gives you the ability to manage and organize your sites effectively. This method is really useful if you own or manage multiple sites and don’t want to lose track of your sites with proper labeling.
And that is it!
We hope you find this article helpful.
If you have any more questions, contact us or post a comment below and we will answer your concern.
Want more WordPress Tips? Click here. WebContempo Blog