Domain and Hosting

How to install WordPress on cPanel?

Install WordPress on cPanel with WP Toolkit, Softaculous, by hand or with WP-CLI, then switch on HTTPS and harden it. Checked on WordPress 7.1.4.

Shashank Dubey
·12 min read
Diagram of three ways to install WordPress from cPanel, WP Toolkit, Softaculous and manual or WP-CLI, all leading to HTTPS and hardening

To install WordPress on cPanel, open WP Toolkit (in the Domains section of cPanel), click Install, pick your domain and leave the folder field empty, set an admin username, password and email, and click Install. If your host offers Softaculous instead, the steps are almost identical. If neither is there, you can install by hand in about ten minutes with the File Manager, the Database Wizard and the WordPress installer, or with three WP-CLI commands in cPanel’s Terminal.

Whichever route you take, finish with two jobs most guides skip: switch the site to HTTPS and do the first round of hardening. Both are covered below. Our team checked every menu name, command and requirement in this guide against the current cPanel documentation, the WordPress 7.1.4 release and the WordPress.org requirements page on 18 November 2026.

This page has no recorded Search Console queries yet, so the headings follow the questions people ask the first time they set up WordPress on a cPanel hosting account.

What do you need before you install WordPress on cPanel?

Five things, and you probably have most of them already:

  • A cPanel hosting account and its login. Many hosts send you through their own dashboard first, with a button that opens cPanel.
  • A domain pointed at that account. The domain’s nameservers or A record must point to your host, or the install will finish but the site will not load at your address. A brand-new domain can take a few hours to resolve everywhere.
  • A current PHP version. WordPress.org recommends PHP 8.3 or newer. In cPanel you set this per domain in MultiPHP Manager: tick the domain, choose a version from the PHP Version menu and click Apply. The versions you see depend on what your host installed.
  • A supported database. WordPress.org recommends MySQL 8.4 or newer, or MariaDB 10.11 or newer. You do not choose this in cPanel; your host does. The Database section of cPanel usually shows the server version.
  • An SSL certificate, so the site runs on https from day one. Most cPanel hosts issue a free one automatically through AutoSSL, which we cover below.

Here is where WordPress itself stands on the day we checked:

Item

Value on 18 November 2026

Source

Current WordPress release

7.1.4

WordPress.org version check API

Recommended PHP

8.3 or newer

WordPress.org requirements

Recommended database

MySQL 8.4+ or MariaDB 10.11+

WordPress.org requirements

Oldest versions that still run

PHP 7.4 and MySQL 5.5.5, both end of life

WordPress.org requirements

Web server

Apache or Nginx recommended

WordPress.org requirements

HTTPS

Required by the recommendations

WordPress.org requirements

If MultiPHP Manager only offers PHP 7.4 or 8.0, ask your host to add a newer version before you build anything. WordPress will install, but you will be starting on an unsupported PHP release, and moving later is more work than asking now.

Which install method should I use in cPanel?

All four methods put the same WordPress files and database on your account. The difference is how much the tool does for you and what it keeps doing afterwards.

Method

Where it lives

Time

Best for

Watch out for

WP Toolkit

cPanel, Domains section

About 2 minutes

Most people on hosts that enable it

Some features need the paid Deluxe edition

Softaculous

cPanel, Software section (third-party add-on)

About 2 minutes

Hosts that license Softaculous

The folder field may be pre-filled

Manual install

File Manager, Database Wizard, browser installer

10 to 15 minutes

Learning how WordPress fits together, or when no installer exists

Database names get your cPanel username as a prefix

WP-CLI in Terminal

cPanel Terminal or SSH

About 3 minutes

Developers and repeat installs

Terminal and WP-CLI must be enabled by the host

Our short version: use WP Toolkit if you see it, Softaculous if you see that instead, and the manual route if you see neither or you want to understand every moving part. Whatever you pick, do not install twice into the same folder; installers refuse, and half-finished manual installs leave stray files behind.

How do I install WordPress with WP Toolkit in cPanel?

WP Toolkit is cPanel’s own WordPress manager. cPanel’s documentation for installing WordPress with cPanel (last modified 8 July 2026) points to it at cPanel, Home, Domains, WP Toolkit. Your host decides whether it is switched on, so if you cannot find it, use the search box at the top of cPanel or ask support.

  1. Log in to cPanel and open WP Toolkit from the Domains section.
  2. Click Install. A form opens with the newest WordPress version selected.
  3. Under installation path, pick your domain. Leave the folder box empty to install at the root (example.com). Type a name such as blog only if you want the site at example.com/blog.
  4. Enter a website title, then an administrator username, a strong password and an email address you check. Avoid “admin” as the username.
  5. Open the database section if you want to see or change the generated database name, user and table prefix. The defaults are fine.
  6. Choose the automatic update settings. Leaving minor core updates and security updates on is the safe choice for most sites.
  7. Click Install, wait for the success message, then use the Log in button to open wp-admin.

WP Toolkit comes in two editions. cPanel’s own Lite versus Deluxe comparison lists installs, basic security hardening and an update and security dashboard in the free Lite edition, while cloning, staging, syncing, Smart Updates (testing updates on a clone first) and mass management across many sites need Deluxe. Hosts often include Deluxe in WordPress-focused plans, so check yours before you pay for a separate staging plugin.

How do I install WordPress with Softaculous?

Softaculous is a third-party auto-installer that many cPanel hosts license and add to the Software section. Its install guide covers the same flow for every app it offers; for WordPress it looks like this:

  1. In cPanel, open Softaculous Apps Installer and click WordPress.
  2. Click the Install tab (choose the Custom install if you see a quick option, so you can review every field).
  3. Choose the protocol. Pick https:// if your domain already has a certificate; otherwise you will switch later.
  4. Choose the domain. Check the In Directory box: leave it empty to install at the root. On many hosts it arrives pre-filled with wp, which puts your site at example.com/wp by mistake.
  5. Fill in the site name, description, admin username, password and email, and pick the language.
  6. Open Advanced Options if you want to see the database name and table prefix, and the backup and auto-upgrade settings your host provides.
  7. Click Install and wait for the links to your site and admin panel.

Softaculous keeps a record of every install under All Installations, with options to back up, clone, upgrade or remove it. Use those buttons rather than deleting files by hand, or Softaculous will still think the site exists and refuse a fresh install in the same place.

How do I install WordPress manually in cPanel?

The manual route needs no installer at all. It follows the official How to install WordPress guide, adapted to cPanel’s tools.

Step 1: Upload WordPress with the File Manager

  1. Download the latest release from wordpress.org/download. On 18 November 2026 that was WordPress 7.1.4.
  2. In cPanel, open File Manager and go to public_html (or the document root of an addon domain).
  3. If the folder holds a placeholder such as index.html or a “coming soon” page from your host, delete or rename it. Left in place, it can load ahead of WordPress’s index.php.
  4. Click Upload, upload the zip, then right-click it and choose Extract.
  5. The zip extracts into a folder called wordpress. Open it, select all files, and move them up one level into public_html. Then delete the empty folder and the zip.

Step 2: Create the database and user

cPanel’s Database Wizard (called MySQL Database Wizard before cPanel version 120) does this in three screens:

  1. Type a database name and click Next Step.
  2. Type a username, generate a strong password with the Password Generator, copy it somewhere safe, and click Create User.
  3. Tick ALL PRIVILEGES and click Next Step. The wizard links the user to the database for you.

Note the full names cPanel shows at the end. On most hosts both are prefixed with your cPanel username, so a database you typed as wp is really cpuser_wp. Using the short name in the next step is the most common cause of a failed install.

Step 3: Run the WordPress installer

  1. Visit your domain. WordPress notices there is no wp-config.php and starts its setup screen; choose a language.
  2. Enter the Database Name, Username and Password from step 2 with their prefixes. Leave Database Host as localhost unless your host says otherwise, and keep or change the Table Prefix.
  3. Click Submit, then Run the installation.
  4. Enter a Site Title, an admin Username, a strong password and Your Email. Leave “Discourage search engines from indexing this site” unticked unless the site is not ready to be found.
  5. Click Install WordPress, then log in at /wp-admin/.

If the setup screen cannot write wp-config.php because of file permissions, it shows the file contents for you to paste into a new file with File Manager. Our guide to WordPress file permissions covers the correct values if you hit that.

Can I install WordPress from the cPanel Terminal with WP-CLI?

Yes, if your host enables cPanel’s Terminal (or SSH) and has WP-CLI installed. Create the database and user with the Database Wizard first, then run these commands from your account (checked against the WP-CLI handbook on 18 November 2026):

cd ~/public_html
wp core download
wp config create --dbname=cpuser_wp --dbuser=cpuser_wpuser --prompt=dbpass
wp core install --url=https://example.com --title="Example Site" --admin_user=siteowner --admin_email=you@example.com --prompt=admin_password

Replace the database names, URL, title, username and email with your own. The --prompt options ask for each password interactively, so it never lands in your shell history. wp config create checks the database connection and generates fresh security keys and salts by default, and wp core install creates the tables and the admin account. The full option lists are in the config create and core install references.

If wp is not found, ask your host whether WP-CLI is available on your plan. Installing it yourself on shared hosting is possible, but it is the host’s call.

How do I install WordPress on a subdomain, addon domain or subfolder?

Every method above lets you choose the target, so the work is in setting up the address first:

  • Subfolder (example.com/blog): type the folder name in the installer’s directory or path field. Nothing to set up beforehand.
  • Subdomain (blog.example.com): create it in cPanel’s Domains page first. cPanel gives it its own document root folder; then pick the subdomain in WP Toolkit or Softaculous, or upload files into that folder for a manual install.
  • Addon domain (a second domain on the same account): add it on the Domains page, point its DNS at your host, and install into its document root the same way.

Each install needs its own database (installers create one automatically). Keeping one site per database makes backups, moves and clean-ups much simpler later. If you want a private copy to test on before going live, a local install is often easier than a subfolder; see how to install WordPress on localhost.

How do I set up SSL and force HTTPS after installing?

Three steps, in this order, avoid most redirect problems:

  1. Check the certificate. Open SSL/TLS Status under cPanel, Security. Your domain and its www version should show a valid certificate. If your host uses AutoSSL, a domain-validated certificate is issued for free, usually within a few hours of the domain pointing at the server. If a domain shows a problem, it is usually DNS that is not pointing at the host yet.
  2. Set WordPress to https. In wp-admin, go to Settings, then General, and make sure both WordPress Address and Site Address start with https://. Save, then log in again.
  3. Redirect http to https. On cPanel’s Domains page, turn on Force HTTPS Redirect for the domain. cPanel only allows this on a domain that has a valid certificate, which is why step 1 comes first.

Use one redirect method, not three. Turning on the cPanel toggle, an SSL plugin and a CDN’s “always use HTTPS” rule all at once is how sites end up in a redirect loop. If you use Cloudflare in front of cPanel, set its SSL mode to Full (strict) once the origin certificate is valid; the “Flexible” mode combined with a server-side https redirect is a classic loop.

For admin logins, WordPress 7.1.4 already turns on FORCE_SSL_ADMIN automatically when the site URL uses https, so you rarely need to add it yourself.

What should I do first after installing WordPress on cPanel?

A fresh install works, but it is not finished. These are the first-hour jobs our team runs on every new site, roughly in order:

  1. Update everything. Dashboard, then Updates. Installers sometimes ship a bundled theme or plugin a version behind.
  2. Remove what you will not use. Delete the sample post, sample page and any plugins the installer added that you do not need. Keep one default theme as a fallback.
  3. Set permalinks. Settings, then Permalinks; “Post name” is what most sites use. Do this before you publish, not after.
  4. Turn off the built-in file editor. Add the line below to wp-config.php, above the “stop editing” comment, so a stolen admin login cannot be used to edit PHP from the dashboard.
  5. Check file permissions. Folders 755 and files 644 is the usual baseline, with tighter settings for wp-config.php.
  6. Set up backups that are stored off the server, either with your host’s backup tool, WP Toolkit Deluxe or a backup plugin. Test one restore.
  7. Fix outgoing email. Password resets and form notifications from shared hosts often land in spam. A transactional email service through SMTP fixes that; our guide to setting up SMTP with SendGrid walks through one option.
  8. Turn on two-factor login for every administrator account with a plugin you trust.
// In wp-config.php, above "That's all, stop editing!"
define( 'DISALLOW_FILE_EDIT', true );

That line is checked by core in wp-includes/capabilities.php and removes the theme and plugin file editors for every user. The Hardening WordPress chapter of the official handbook covers the rest. If your host leaves directory listings on, our guide to turning off directory indexing closes that gap with one line.

Planning a shop? WooCommerce installs like any other plugin from Plugins, then Add New, once WordPress is running.

If you are planning an online store, WooCommerce is the free store plugin most WordPress sites use, and it runs fine on a well-sized cPanel plan.

Which hosts give you cPanel?

Not every host uses cPanel any more, so check before you follow a cPanel guide. Several large hosts have built their own panels, and the WordPress install button lives there instead. What we found on 18 November 2026:

Host

Control panel

WordPress installer

hosting.com (formerly A2 Hosting)

cPanel on its shared plans

WP Toolkit, documented in its knowledge base

Bluehost

Bluehost Portal, with cPanel on plans that include it

Its own WordPress tools in the portal

SiteGround

Site Tools (its own panel)

Install and Manage tool in Site Tools

Hostinger

hPanel (its own panel)

Auto installer in hPanel

If you are on SiteGround or Hostinger, the ideas in this guide still apply (database, SSL, hardening), but the menu names do not. Disclosure: the host links below are affiliate links; we earn a small commission if you buy through them, at no cost to you.

Common mistakes people report

These problems come up again and again in hosting and WordPress support forums. We paraphrase each one and link the source. Checked on 18 November 2026.

  • WordPress lands in a /wp folder. A user installed through Softaculous and found the site only at example.com/wp while the domain showed the host’s landing page; a reply pointed out the directory field said wp, and the fix was to reinstall at the root or move the site. (InfinityFree forum, January 2019; Namecheap documents a Softaculous clone route for the same mistake)
  • The host’s placeholder page shows instead of WordPress. After an auto-install on cPanel hosting, the domain kept showing a “site under construction” page; deleting the leftover index.html in the main folder fixed it. (WordPress.org support, August 2016)
  • “Error establishing a database connection” on a new install. cPanel adds your account name as a prefix to database and user names, and a user can only reach a database it has been added to with privileges; using the short names, or skipping the add-user step, breaks the connection. (cPanel Database Wizard documentation; HostGator troubleshooting guide)
  • Locked out by a redirect loop after switching to https. A site owner changed the WordPress URLs to https while Cloudflare was in front of the site and got “too many redirects”; suggestions were to check Cloudflare’s SSL mode, disable HTTPS plugins over FTP and set the URLs in wp-config.php. (WordPress.org support, March 2017)
  • “An installation already exists” after an accidental install. A user who clicked through a Softaculous install by mistake could not reinstall; removing the install from the Softaculous dashboard, rather than deleting files, cleared it. (WordPress.org support, September 2016)

Frequently asked questions

Is it free to install WordPress on cPanel?

Yes. WordPress is free, and WP Toolkit Lite, Softaculous and the manual method cost nothing beyond your hosting plan. Paid extras such as WP Toolkit Deluxe or a premium theme are optional.

Should I use WP Toolkit or Softaculous?

Use whichever your host provides; they install the same WordPress. If you have both, WP Toolkit is cPanel’s own tool and its Deluxe edition adds staging and Smart Updates, which some hosts include for free.

Where is WordPress installed in cPanel?

For a main domain, in public_html. For a subdomain or addon domain, in the document root folder cPanel created for it, shown on the Domains page.

How long does the install take?

About two minutes with WP Toolkit or Softaculous, ten to fifteen minutes by hand. DNS and SSL can add a few hours if the domain was only just pointed at the host.

Can I install more than one WordPress site on one cPanel account?

Yes, as many as your plan allows, each on its own domain, subdomain or folder with its own database. Watch your plan’s disk, database and inode limits as you add sites.

How do I uninstall WordPress from cPanel?

Remove it with the tool that installed it (WP Toolkit or Softaculous), which deletes both files and database. For a manual install, take a backup, delete the files in File Manager and drop the database in MySQL Databases.

Part of the Wbcom Designs family

The all-in-one WordPress community stack

Also ours: wbcomdesigns.comvapvarun.combrndle.com