If you want to set up your own WordPress site without making use of a host website, then you’ll need to know how to install WordPress with cPanel. This is beneficial because cPanel will bring you many benefits.
What, exactly, is cPanel?
cPanel is a web-hosting control panel that enables you to manage a web server in a simpler, more efficient way. You can achieve many functions with it.
These include organizing your web files, installing and updating WordPress manually, creating an email account, and publishing your website. It’s worth bearing in mind that since cPanel is the place where you can manage the server of your web host, you’ll find that a large amount of control panels have WordPress installation script installers, like Softaculous.
If yours doesn’t, you’ll have to install WordPress manually on cPanel with this guide.
- 1 How To Install WordPress With cPanel
- 2 Alternative Way To Install WordPress With cPanel
- 3 How To Get Started With WordPress
- 4 Related Questions
- 5 Conclusion
How To Install WordPress With cPanel
Ready to install WordPress on cPanel? Here are the steps you need to follow.
Step One: Download WordPress
You want to start by downloading the most up-to-date version of WordPress. When you do, make sure you download its zip file then save it on your computer. Extract the archive from the directory of the file, then you can go ahead and upload it to the web server.
Step Two: Access Your cPanel Account
Once you’ve logged into cPanel, you have to go to File Manager and search for the public_html directory, which is the place where you’ll store your website.
Choose the location you want to use for your WordPress account. This can either be in the domain’s root directory, or in the domain’s subfolder, as Phoenix Nap reports.
- If you want to place it in your domain’s root directory, you will have to upload your WordPress folder without uploading the actual folder.
- If you want to place it in a subfolder, you’ll have to upload the whole WordPress folder.
Once you’ve got the WordPress installation archive, you can safely remove the zip file you previously downloaded from the web server. The files will now be in a folder called “WordPress.”
Step Four: Set Up Your MySQL Database
Before you can go ahead and install WordPress, you must ensure you have set up a MySQL database and password. Both your MySQL database and MySQL database user can be created in cPanel.
Underneath the Database heading in cPanel, you’ll see the MySQL Database Wizard tool. By using this tool, you’ll create a database, give it a name, and choose a username and password.
Right, let’s start with how to create your database.
The database prefix will be displayed with an underscore and blank area for you to come up with a name for your database, so it will look like this: “yourserver_blankarea.” The database name must be at least three characters in length. Once you’ve created your database you can then click Next Step.
How to create your database user:
Once you’ve got your database, you’ll create a user for it. You’ll need to give the user you’ve created permission to use the database. To do that, you’ll go to User and select your new user from the drop-down menu. You’ll choose your new database from the drop-down menu of Database. Then, click Add. Make sure you tick the All Privileges box and then choose Make Changes.
Once you’ve set up your database and database user, you can then proceed with your WordPress installation.
Step Five: Edit Your Wp-Config-Sample.php File
With the use of a text editor such as Sublime Text, you’ll have to edit your wp-config-sample.php file. You must input your database name and username, password, and host.
This file is important because it contains information related to your database and it informs WordPress where it needs to take data from, so make sure you complete this step!
In cPanel, you need to click Show Hidden Files, then click Save. You’ll see the wp-config-sample.php file in the File Manager panel. You want to rename it to wp-config.php and then click on Edit. Now you can replace the database name, username, and password with the info you created earlier.
Step Six: Run WordPress Installation Scripts
Once you have reached this part of the process, you’re all done with the cPanel part of things. Phew, go on and give yourself a pat on the back! Now you can initiate the WordPress installation script.
Enter your domain in a new browser window so that you can run the WordPress installation script. Where the script was installed will determine where it will be redirected.
So, if you uploaded WP to your domain root folder, you’ll be redirected to https://example.com/wp-admin/install.php, but if you uploaded it to your domain directory’s subfolder, then you’ll see a format like this: https://example.com/subfolder/wp-admin/install.php.
You’ll be prompted to enter details to round off your WordPress installation, such as your WordPress username, password, site title, and your email address. Just make sure that you don’t use the username and password that you created for your database user! Then, proceed with the installation and you’re done.
Alternative Way To Install WordPress With cPanel
What if you just can’t seem to figure out how to install WordPress manually?
You can make use of Softaculous, which is a commercial script library that automates open-source and commercial web applications to a website installation. To make use of it, you’ll need to do the following things:
- Go to cPanel and click on the Softaculous app that appears at the bottom.
- Type the word “WordPress” in the search field for Softaculous and press “Enter.”
- Next, click on “WordPress” and click on the “Install” button.
- Check that all the details in the WordPress configuration page are correct.
- Softaculous will ask you where you wish to install WordPress. Choose http:// or http://www. as protocol, but if your site has SSL and HTTPS, you’ll be able to use https:// or https://www.
- Then, choose the domain name you want to use to install WordPress.
- You’ll also have to provide a title and description for your WordPress website, as well as a username, password, and email address.
- Once you’ve provided all the info, you will see Softaculous will start to run the installer, providing you with a progress bar so you can see the status of the installation. It should only take a few minutes.
How To Get Started With WordPress
If you’re a complete beginner who’s never used WordPress before, now that you’ve installed it with cPanel you can start learning about it to make your WordPress website work for you.
Here are some valuable resources that will help you once your WordPress site is up and running so you can make the most of it right away.
- WP Beginner – this is the go-to place for all guides and tutorials related to WordPress.
- WP Beginner Dictionary – Not sure what to make of all that WordPress lingo? This online dictionary will help you make sense of it all.
- WP Beginner Videos – If you’re someone who learns better by watching videos instead of reading tutorials, this site is a must to check out. You can also visit the WPBeginner on YouTube channel for help.
- WP Beginner Deals – Why not make the most of your beginner status by enjoying some deals? This site offers discounts on WordPress services and products for beginners.
Is cPanel free?
No, cPanel isn’t free, but you can make use of test licenses if you’re a new user.
You can purchase cPanel Solo that costs $15 per month and is suitable for freelancers and small businesses, but there are three other plans to choose from depending on your needs.
How do you log in to cPanel?
There are many different ways to access your cPanel, such as by logging into cPanel directly or from WHM. You can learn more by visiting the InMotionHosting website that provides information on how to log into your cPanel.
Setting up WordPress with cPanel can be quite technical and complicated, but it’s definitely doable.
In this article, we’ve provided you with all the information and tips you need to be able to manually install WordPress with cPanel so that it doesn’t have to feel like an overwhelming or impossible task.
Whether you’re a beginner or advanced user, you can easily install WordPress with cPanel without too much hassle. If you’re still battling with your installation, don’t fret – make use of Softaculous to get up and running within minutes.