Themewaves
How-To

How to Install WordPress Using cPanel

Learn how to install WordPress using cPanel with Softaculous or FTP, create a database, set wp-config.php, and fix common install errors.

Editorial Team 7 min read
How to Install WordPress Using cPanel

WordPress Installation: The Fastest Path

WordPress is a free tool for building websites, blogs, shops, and business sites. It gives you themes, plugins, and an easy editing screen.

The quickest way to install WordPress using cPanel is Softaculous. Most hosts let you open it from the cPanel dashboard. You can also install WordPress by hand with FTP and a database.

This guide covers both paths. Softaculous takes about five minutes. A manual install gives you more control over each step.

How to Access cPanel for WordPress

Your hosting firm usually links to cPanel from its account dashboard. Sign in to your hosting account first. Then open your hosting plan or site list.

Look for a button named cPanel, Control Panel, or Manage. The label differs between hosts. Some hosts open cPanel in a new browser tab.

You may also receive a direct cPanel address in your welcome email. It often uses your domain followed by port 2083. Use the host's secure link when possible.

  • Open your hosting provider's account page.
  • Select the website or hosting plan.
  • Click the cPanel access button.
  • Sign in with the details supplied by your host.

If you use HostGator, open the hosting account area and select cPanel. The exact menu name may change after account updates. Ask host support if the link is missing.

Install WordPress Using Softaculous

Softaculous is an app installer inside many cPanel accounts. It sets up WordPress files, a database, and basic login details for you.

Find Softaculous App Installer in cPanel. Search for WordPress, then open its install page. Choose the current stable release shown by the installer.

Pick the correct protocol first. Use https:// when your domain has a working SSL certificate. Next, choose the domain where WordPress should live.

Leave the directory field empty for a main site. For a site at example.com/blog, enter blog. A wrong directory can place WordPress at an unexpected address.

Secure hosting control setup with database panels and domain settings in a server room
Softaculous setup overview

Fill in the site details next. Add a clear site name and a short description. You can change both later from the WordPress settings screen.

Create a new admin account with a unique username. Do not use “admin.” Use a long password with at least 14 characters. Add an email address that you check often.

Softaculous may offer optional plugins and themes. Skip them unless you need them now. Extra add-ons can make fault finding harder.

  1. Open Softaculous from your cPanel dashboard.
  2. Select WordPress and click Install.
  3. Choose the protocol, domain, and folder.
  4. Enter your site name and admin details.
  5. Pick a database name or accept the suggested value.
  6. Review the settings and start the install.

When the process ends, Softaculous shows your site and login addresses. Visit the login address, which normally ends with /wp-admin. Save those links in your password manager.

How to Manually Install WordPress in cPanel

A manual install uses three main parts: WordPress files, a MySQL database, and the wp-config.php file. You move files with FTP or cPanel File Manager.

First, download WordPress from the official WordPress download page. Unzip the package on your computer. The files sit inside a folder named wordpress.

Open cPanel and launch File Manager. Go to the document root for your domain. This is often named public_html. Upload the files into that folder for a main domain.

FTP works too. Create an FTP account in cPanel, then connect with an FTP app. Upload the WordPress files to the right domain folder. File Manager is often faster for one site.

Manual WordPress setup with server files, database planning, and secure hosting tools
Manual WordPress installation

Create the Database

Open MySQL Database Wizard in cPanel. Create a database with a name that identifies the site. Then create a separate database user.

Give the user a strong password. Add the user to the database. Select All Privileges, or WordPress may fail to save data.

Write down four values before leaving this screen. You need the database name, username, password, and database host. Most hosts use localhost as the database host.

ValueExampleWhere to find it
Database nameaccount_siteMySQL Database Wizard
Database useraccount_wpMySQL Database Wizard
PasswordYour unique passwordCreated during setup
Database hostlocalhostHost support or setup guide

Set Up wp-config.php

Open the WordPress folder and find wp-config-sample.php. Copy it, then rename the copy to wp-config.php.

Open the file in cPanel's code editor. Replace the database name, user, password, and host values. Keep the quotation marks around each value.

WordPress also needs unique security keys. The sample file includes placeholder keys. Replace them with fresh keys from the WordPress secret key service.

Save the file, then visit your domain. WordPress should show its setup form. Enter the site title, admin username, password, and email address.

Configure WordPress After Installation

Sign in at yourdomain.com/wp-admin. Open Settings and check the site title, tagline, and site address. Confirm that both addresses use the correct https version.

Open Settings, Permalinks. Choose a readable structure such as Post name. Save the setting once. This creates cleaner links for readers and search engines.

Check the time zone, date format, and language. These settings affect post dates and scheduled content. They also help your site match its audience.

  • Remove sample posts, pages, and comments.
  • Set a strong admin password and unique username.
  • Turn on automatic updates for minor WordPress releases.
  • Install only trusted themes and plugins.
  • Set regular backups with your host or a trusted backup tool.

Review user accounts under Users. Delete unused accounts and lower the role of writers who need limited access. Strong access rules reduce damage from stolen passwords.

Choose a lightweight theme before adding many plugins. Each plugin adds code and may add risk. Test one change at a time.

Common WordPress Install Problems

A failed install often points to one wrong value. Check the error message first. Then compare each setting with your host's details.

Error Establishing a Database Connection

This error means WordPress cannot reach its database. Check the database name, user, password, and host in wp-config.php. Include the account prefix that cPanel adds to names.

Confirm that the database user has all needed privileges. Also check that the database exists in cPanel. If localhost fails, ask your host for the correct database host.

404 Errors on Posts and Pages

Open Settings, Permalinks and click Save Changes. This refreshes the rewrite rules. Check your server's PHP and rewrite support if the error remains.

Blank Screen or 500 Error

A plugin, theme, or PHP setting may cause this fault. Rename the plugins folder in wp-content through File Manager. If the site returns, restore the folder and test plugins one by one.

Check the PHP version supported by your WordPress release and theme. Review the server error log in cPanel. Your host can read the log when you cannot.

File Permission or Upload Errors

Check that files belong to the right hosting account. Avoid setting every file to full access. Ask support for safe permission values if uploads fail.

Finish the Setup and Plan Your Next Steps

Softaculous is the best choice for speed. A manual install suits site owners who need direct control. Both methods create the same WordPress platform when the details are correct.

Take a backup after the first setup. Test the home page, login screen, contact form, and mobile layout. Fix broken links before sharing the site.

For deeper help, use the official WordPress installation guide and your host's cPanel support pages. Keep a note of database details and account changes. That record can save hours during future repairs.

Step-by-step

  1. 01
    Open cPanel

    Sign in to your hosting dashboard and open cPanel for the correct website.

  2. 02
    Choose Softaculous

    Find Softaculous, search for WordPress, and open its install form.

  3. 03
    Select the site address

    Choose the correct protocol and domain. Leave the folder empty for the main domain.

  4. 04
    Enter install details

    Add the site title, admin email, unique username, and strong password.

  5. 05
    Start and test the install

    Run the installer, open the site, and sign in through the WordPress admin address.

Frequently asked questions

How do I access cPanel for WordPress?
Open your hosting account dashboard and select your site or hosting plan. Click the cPanel or Control Panel button, then sign in.
How do I install WordPress using Softaculous?
Open Softaculous in cPanel, choose WordPress, select your domain, enter the site and admin details, then start the install.
How do I manually install WordPress in cPanel?
Download WordPress, upload its files with FTP or File Manager, create a database, and add those details to wp-config.php.
How do I fix a WordPress database connection error?
Check the database name, user, password, host, and user privileges. Also confirm that cPanel added the correct account prefix.
What should I configure after installing WordPress?
Use a unique admin username, a long password, trusted plugins, regular backups, and updates for WordPress core and extensions.
install wordpress with cpanelsoftaculous wordpress installmanual wordpress installationwordpress database setupwordpress configuration settingsfix database connection errorswordpress security settings