21+ years in hosting · Jaipur, India · INR billing with 18% GST · 24/7 email support
Blog · WebJi® India

How to Install WordPress in cPanel

Quick answer

To install WordPress in cPanel, open Softaculous Apps Installer, choose WordPress, click Install, select https and your domain, leave Directory blank and set your admin login. Without Softaculous, create a MySQL database, upload WordPress.org's files to public_html with File Manager and run the browser installer. It worked when /wp-admin shows the dashboard.

For site owners and freelancers setting up WordPress on a cPanel hosting account for the first time.

✓ In business since 2005
✓ INR + GST billing
✓ 24/7 Email Support — avg reply < 60 min
GuideWebJi®
knowledge
Read time
4 min
Sections
6
Updated
14 Nov 2026
Written by
WebJi® team

What do you need before installing WordPress in cPanel?

You need a cPanel hosting account, a domain pointed at it (or the temporary URL), a supported PHP 8 version selected for that domain, and an email address you can open for the admin account. Softaculous, if your host includes it, handles the database and files for you.

  • Panel access: see how to access cPanel if you have not logged in yet.
  • PHP: pick a current PHP 8 release in MultiPHP Manager, as WordPress.org's requirements page recommends.
  • Database: MySQL or MariaDB, included on cPanel plans.
  • Empty document root: remove any placeholder index file so the new site is not hidden behind it.

WebJi® cPanel hosting includes Softaculous, AutoSSL, MultiPHP and JetBackup. The Webji Launch, Turbo and Scale shared plans use ControlPanel.Systems instead, with its own one-click WordPress deploy, so the menus below apply to cPanel accounts.

Which method should you use to install WordPress in cPanel?

Use Softaculous for a two-minute install, the manual File Manager method when no installer is available, and WP-CLI over SSH when you want a repeatable, scriptable install. All three produce the same WordPress.

Three ways to install WordPress on a cPanel account
MethodDatabaseTimeBest when
SoftaculousCreated automaticallyAbout 2 minutesMost installs
File Manager + browser installerYou create it in MySQL Databases10–15 minutesNo auto-installer on the account
WP-CLI over SSHYou create it, then script the restA few commandsDevelopers, staging copies, many sites

How do you install WordPress with Softaculous?

Open Softaculous Apps Installer → WordPress → Install, choose https and your domain, leave Directory blank, set an admin username other than "admin" and click Install. Softaculous creates the database, writes wp-config.php and prints the admin URL.

  1. In cPanel, under Software, open Softaculous Apps Installer and click the WordPress icon, then Install.
  2. Set Choose Protocol to https:// and select the domain.
  3. Leave In Directory empty so the site loads at the domain root, not /wp/.
  4. Enter the site name, a unique admin username, a long password and a working email.
  5. Click Install and wait for the success screen with the admin URL.

You are done when a private window shows the default theme on your domain and /wp-admin accepts the login. If Softaculous shows an error, send the exact message to support; do not start a second copy in another folder.

How do you install WordPress manually with File Manager?

Create a database and user, upload the WordPress zip from WordPress.org into the document root, move the files out of the "wordpress" folder, then run the browser installer with your database details.

  1. In MySQL Databases, create a database and a user, then add the user to the database with All Privileges. Note the full names, including the account prefix (for example acct_wp).
  2. Download the latest zip from WordPress.org, open File Manager, go to public_html (or the addon domain's folder), upload and extract it.
  3. Open the new wordpress folder, select all files, and move them up into public_html.
  4. Visit the domain; the installer asks for database name, username, password, host (localhost on most cPanel accounts) and table prefix.
  5. Set the site title and admin account, then log in.

If the installer cannot connect, one of the four database values is wrong; the database connection error guide checks each.

How do you install WordPress with WP-CLI over SSH?

Many cPanel servers include WP-CLI; after creating the database in cPanel, three commands download WordPress, write wp-config.php and complete the install. Enable SSH access in cPanel first if your plan allows it.

cd ~/public_html
wp core download
wp config create --dbname=acct_wp --dbuser=acct_wpuser --dbpass='STRONG_PASSWORD' --dbhost=localhost
wp core install --url=https://example.in --title="Example Traders" \
  --admin_user=ex_owner --admin_email=owner@example.in
# WP-CLI prints a generated admin password if you omit --admin_password

Check the result with wp core version and wp option get siteurl.

What should you do right after installing WordPress?

Set permalinks to Post name, confirm HTTPS works, delete the sample content, and install only the theme and plugins you need. These five minutes avoid most first-week problems.

  • Permalinks: Settings → Permalinks → Post name → Save.
  • HTTPS: if the padlock is missing, run AutoSSL under SSL/TLS Status, then confirm both WordPress Address and Site Address use https.
  • Clean-up: delete "Hello world", the sample page and unused default themes.
  • Theme: follow installing a WordPress theme.
  • Backup: take a first full backup before adding content.

Why did the WordPress install in cPanel not work?

The usual causes are a filled-in Directory field, files left inside a wordpress subfolder, a leftover placeholder index page, or wrong database values.

Install problems and fixes
SymptomCauseFix
Site loads at /wp/ or /wordpress/Directory field filled, or files not moved upReinstall with Directory blank, or move the files
Domain still shows the host's default pagePlaceholder index.html in public_htmlDelete the placeholder file
"Error establishing a database connection"Wrong name, user, password or hostRecheck values, including the prefix
Padlock missing or mixed contentSSL not issued yet, or site URL on httpRun AutoSSL and update both URLs to https
"Already installed" messageAn existing install in that folderUse /wp-login.php and reset the password

Still stuck? Email support@webji.services with the step and the exact message; replies come 24/7 in Hindi and English, on average within 60 minutes.

FAQ

Frequently asked questions

Can I install WordPress on an addon domain or subdomain in cPanel?

Yes. In Softaculous choose that domain or subdomain from the list; for a manual install, upload into the document root cPanel shows for it under Domains. Each site gets its own database and admin login.

Is Softaculous WordPress different from WordPress.org?

No. Softaculous installs the same open-source WordPress from WordPress.org and adds optional extras such as automatic updates and backups in its own interface. You can manage the site normally from wp-admin afterwards.

Should I let Softaculous auto-update WordPress?

Minor security releases should update automatically. For major versions on a business site, take a backup first, or test on a staging copy, because a theme or plugin may not be ready on release day.

How do I install WordPress on a domain that does not point to the host yet?

You can install in advance, but the site will only load at that domain once DNS points to the server. To preview earlier, edit your computer's hosts file to map the domain to the server IP for testing.

Steps checked against cPanel, Softaculous and WP-CLI documentation · Reviewed by the WebJi® team, Jaipur.

WebJi® since 2005

Ready to get started with WebJi®?

Join 12,000+ businesses across India and overseas. INR pricing, 18% GST shown before payment and 24/7 email support in Hindi and English — average first reply under 60 minutes.