Learning how to install WordPress on cPanel is one of the first skills every website owner needs. WordPress powers a large share of the websites on the internet, and cPanel is the control panel most hosting companies use. Together, they make it possible to set up a website in under half an hour, even if you have never done it before.

This guide shows you two ways to install WordPress on cPanel. The first method uses Softaculous, a one-click installer, and it is the method we recommend for beginners. The second method is a manual install, which is useful if Softaculous is not available on your hosting plan. We also cover what to do after the install, and how to fix the most common errors.

Before You Start: What You Need

Before you install WordPress, you need three things. First, a hosting plan that includes cPanel. HostNexo hosting plans include cPanel, a free SSL certificate, a one-click WordPress install and free migration, so this guide works with HostNexo hosting. Second, a domain name that is already connected to your hosting account. If you bought your domain and hosting from the same company, this is usually done for you. Third, your cPanel login details, which your host sends by email when you buy hosting.

It also helps to decide two things in advance: the name of your website and the username and password you will use to log in to WordPress. Choose a strong password and save it somewhere safe, such as a password manager. You will also need an email address where WordPress can send you notifications and password reset links.

Method 1: Install WordPress with Softaculous in cPanel

Softaculous is a tool inside cPanel that installs WordPress for you in a few clicks. Most shared hosting plans include it, and it is the easiest way to install WordPress on cPanel.

Step 1: Log in to cPanel

Open your cPanel login page, which is usually at yourdomain.com/cpanel or through a link in your hosting account. Enter your cPanel username and password and click Log In. You will see the cPanel dashboard, which shows many icons grouped into sections.

Step 2: Find the WordPress installer

Look for the section called Softaculous Apps Installer or Software. Inside it, you will see a WordPress icon. Click it. On the next screen, you will see information about WordPress and a button that says Install Now. Click Install Now to open the installation form.

Step 3: Fill in the installation form

On the form, choose the domain where you want to install WordPress from the Choose Domain list. Leave the In Directory field empty if you want WordPress on your main domain, so your site opens at yourdomain.com. If you type a folder name here, your site will open at yourdomain.com/folder instead, which most people do not want.

Next, under Site Settings, type your site name and site description. These can be changed later, so do not worry about getting them perfect. Under Admin Account, choose your admin username, a strong password, and your admin email address. Do not use admin as your username, because it is the first name attackers try. Under Choose Language, pick English or your preferred language, then click Install at the bottom of the page.

Step 4: Wait for the installation to finish

Softaculous will now install WordPress. A progress bar will show the installation running, and it usually takes less than a minute. When it finishes, you will see a success message with two links: your website address and your WordPress admin login address, which looks like yourdomain.com/wp-admin.

Step 5: Log in to your new WordPress site

Click the admin link or type yourdomain.com/wp-admin into your browser. Enter the admin username and password you chose in step 3 and click Log In. You will see the WordPress dashboard, which is where you add pages, write posts, change your theme and install plugins. Your site is now live.

Method 2: Install WordPress Manually in cPanel

The manual method takes longer, but it works on any cPanel hosting plan, even one without Softaculous. It also teaches you how WordPress works behind the scenes.

Step 1: Download WordPress

Go to wordpress.org and download the latest version of WordPress as a zip file. Save it on your computer. Do not open or change the files inside the zip file.

Step 2: Upload the files to your hosting account

Log in to cPanel and open File Manager, which you will find under the Files section. Go to the public_html folder, which is the main folder for your website. Click Upload at the top, choose the WordPress zip file from your computer, and wait for the upload to finish. Then go back to public_html, right-click the zip file, choose Extract, and confirm. The files will be extracted into a folder called wordpress. Move the files from that folder into public_html itself, then delete the empty wordpress folder and the zip file.

Step 3: Create a database

WordPress needs a database to store your posts, pages and settings. In cPanel, open MySQL Database Wizard under the Databases section. First, create a new database and give it a name. Next, create a database user with a username and a strong password, and save the password. Then add the user to the database and tick the All Privileges box. Write down the database name, username and password, because you will need them in the next step.

Step 4: Run the WordPress installer

Open your domain in a browser, for example yourdomain.com. WordPress will show its setup screen and ask you to choose a language. Click Continue, then fill in the database details from step 3: database name, username, password, and the database host, which is usually localhost. Click Submit, then Run the Installation.

Step 5: Finish the setup

On the final screen, enter your site title, admin username, password and email address, and tick the box if you want search engines to find your site. Click Install WordPress. When the success screen appears, click Log In and sign in at yourdomain.com/wp-admin. Your manual install is complete.

What to Do After Installing WordPress

After the install, log in to your WordPress dashboard and do a few quick jobs. First, go to Settings, then General, and check that your site title, tagline and email address are correct. Next, go to Settings, then Permalinks, choose Post name, and save. This makes your page addresses clean and easy to read, for example yourdomain.com/about instead of yourdomain.com/?p=123.

Then delete the sample post, sample page and default plugins you do not need, and install a theme you like from Appearance, then Themes. Finally, install the plugins you need, such as a security plugin and an SEO plugin like Rank Math. If you would rather skip the setup work, HostNexo offers a one-click WordPress install and free migration, so its team can help you get started.

Common WordPress Install Errors and How to Fix Them

Most install problems are easy to fix. If you see Error establishing a database connection, your database name, username or password is wrong. Open the wp-config.php file in File Manager and check the details against the database you created in cPanel.

If you see a white screen after installing, a plugin or theme may be causing a problem. Log in to cPanel, open File Manager, go to wp-content, and rename the plugins folder to plugins-old. If the site loads, rename it back and then rename each plugin folder one by one until you find the one that breaks the site.

If the installer says the directory already exists, Softaculous found old files in that folder. Open File Manager, check the folder, and delete the old files before you try again. If you see a 500 error, check the file permissions in File Manager: folders should usually be 755 and files 644. If you are still stuck, contact your host’s support team. HostNexo offers 24/7 support and a 30-day money-back guarantee, so help is always available.

Frequently Asked Questions

How long does it take to install WordPress on cPanel?

With Softaculous, the install itself takes less than a minute, and the whole process takes about five to ten minutes. A manual install takes longer, usually twenty to thirty minutes, because you have to upload files and create a database yourself.

Do I need coding skills to install WordPress on cPanel?

No. The Softaculous one-click method needs no coding at all. You fill in a form and click Install. The manual method also needs no coding, just careful copying of the database details into the setup screen.

Can I install WordPress on a subdomain?

Yes. In Softaculous, choose the subdomain from the Choose Domain list, or create the subdomain first in cPanel under Domains, then Subdomains. The install works the same way, and the site will open at subdomain.yourdomain.com.

What is the difference between WordPress.com and WordPress.org?

WordPress.org is the free software you install on your own hosting, which is what this guide covers. WordPress.com is a hosted service where the company runs WordPress for you. Installing on cPanel with your own hosting gives you full control over themes, plugins and your site.

Can I install WordPress for free?

WordPress itself is free, but you need hosting and a domain name, which cost money. HostNexo shared hosting starts from $0.88 per month (about Rs. 250) and includes cPanel, a free SSL certificate and a one-click WordPress install, so the total cost of starting a site is very low.

How do I log in to WordPress after installing it?

Go to yourdomain.com/wp-admin in your browser and enter the admin username and password you chose during the install. If you forget the password, click Lost your password on the login screen and WordPress will email you a reset link.

Installing WordPress on cPanel is simple once you have done it the first time. For most people, the Softaculous one-click method is the best choice: log in to cPanel, open the WordPress installer, fill in the form, and your site is ready in minutes. If you need hosting with cPanel and one-click WordPress installation, check HostNexo’s shared hosting plans, and if you are comparing hosts first, read our guide to the best web hosting in Pakistan and our HostNexo review.

Leave a Reply

Your email address will not be published. Required fields are marked *