Setting up a blog with WordPress is easier than ever, and the whole process can take you about 30 minutes or less to do. We’re going to show you exactly how to set up your WordPress blog with cPanel hosting, taking you through the process step-by-step.
What is WordPress?
WordPress is a platform that allows you to create and customize blogs and websites without ever using a single line of code. It is easy to install and most of the hosting agencies offer automatic WordPress installation via cPanel.
What is cPanel?
cPanel is a web-based control panel for your website. It’s where you do nearly everything for your WordPress blog: set up emails, connect domains, upload files, install WordPress, and more. cPanel is where you manage your hosting account.
How to Set up a WordPress Blog with cPanel Hosting Step-by-Step
Step 1: Find a Host
To set up your WordPress blog, you must first find a good hosting company that’s WordPress-friendly. Some hosting agencies don’t allow WordPress while those that allow WP usually have a simple auto-install option (more about this later).
Step 2: Set up Your Hosting Account
Once you decide which web hosting agency will be the home of your website, it’s time to set up your hosting account.
Create a domain – Think of a creative domain for your website. Something that’s the same as your blog title. You need to check the availability of the domain name you choose. If the domain is available, you can register it as your own. See more about choosing the best domain name for your website here.
Create a hosting account – This part of the step is where you choose your hosting plan. Depending on your aspirations, pick a hosting plan that fits your needs and purposes, and fill in the user info. After filling in the required information and paying for the service, check your email. The hosting agency will send you an email with payment confirmation, login information, and a link to the cPanel webpage.
Step 3: Use cPanel to Install WordPress
Login to your cPanel account using the information in the email that the web hosting provider sent you. You will notice a user interface with a lot of different buttons and options, allowing you to manage your website. Start by installing WordPress. There are two ways of doing this: manual installation or automatic installation.
How to Install WordPress Manually using cPanel
This process allows you to install WordPress manually using cPanel and WP installation. Go to the WP website and download installation. The file that you download will be a WP ZIP file so just extract it when it’s ready.
When you extract the file, you will enter the WordPress folder and locate a file titled “wp-config-sample.php”.
Rename this “wp-config.php”, and copy it to your desktop.
Go to cPanel file manager and upload WordPress WP ZIP file.
When the upload is finished, you will see a WordPress ZIP file in the cPanel file manager.
Right-click on the WP ZIP file and select extract.
Once the extraction is complete, delete WP ZIP file from the file manager.
The second part of the manual installation requires that we create a MySQL database.
In order to set up the database correctly, go to your desktop and open “wp-config.php” using Notepad or any other text editor. Keep the document open, as we will need to change some info in the file.
In the cPanel main menu, locate the MySQL databases button. Click it.
This takes you to a page that allows you to create a new database. Type in a name for the database and select “create database”.
Look in the “wp-config.php” file, find the part of the code that says “database_name_here”, and replace it with the actual name of your database.
It’s recommended that you give your database a simple name such as “db1” or “database1”, but it’s up to you.
Go back to the cPanel database page.
You’ll need to set up a username and password for your database. It’s likely that you won’t ever use it again, but it’s a requirement.
In the “wp-config.php” file, find part of the code that says “username_here” and replace it with the actual database username.
You need to do the same with the password, however, there is no “password_here” code, so see the screenshot we provided. The part of the code that’s marked yellow is what you need to replace with your actual password.
Now there are two more things to do.
The first is create a hash by selecting the URL as shown in the image 1 below and visiting it with your browser.
Copy all the content as it’s shown on the image 2 and paste it into the “wp-config.php” replacing the code marked on the image 3.
Save the file and close it.
The second thing to do is go to the cPanel database page and add permissions so that users can access the database.
Click the add button in the permissions section of the page and select all permissions.
At last, go to the cPanel file manager and delete “wp-config-sample.php”, then select upload.
Browse for the “wp-config.php” file that you have on your desktop and upload it.
Now go to your blog address, you will need to fill some info and create a login account that will allow you to enter your WordPress dashboard and select a theme for your blog.
This is a simple way to install WordPress. Just go to your cPanel, find the Install WordPress button and click it. You will receive an email with WP login information that will allow you to enter the dashboard and customize the way your blog looks.
Some users prefer the manual installation, some prefer the automatic installation. It’s completely up to you.
That’s how easy it is to set up a WordPress blog with cPanel. We hope that this article was helpful and that you’ll enjoy setting up your WP blog using our tutorial. Let us know what you think of this article and have fun blogging!