All Systems Operational|support@delhihosting.com
WordPress · In-depth guide

How to Install WordPress on cPanel Hosting

19 Jun 2026 · 9 min read · DelhiHosting Team

Installing WordPress on cPanel hosting is genuinely a five-minute job — but doing it well sets your site up for speed, security and good SEO from day one. This guide walks through the one-click installer step by step, then covers the manual method, the settings to change immediately, and how to fix the handful of things that occasionally go wrong.

Before you start: what you need

You need three things in place: an active hosting account with cPanel access, a domain pointed at your hosting, and the cPanel login from your welcome email. If your domain isn’t pointing to us yet, update its nameservers or A record first — WordPress will install regardless, but it will only load at your domain once DNS resolves.

Pointing your domain
If you registered your domain with us, this is already done. If it’s elsewhere, set its nameservers or A record to the values in your welcome email, then allow up to a couple of hours for DNS to propagate.

Method 1: the one-click installer (recommended)

Almost everyone should use the installer — it creates the database, installs the files and sets up your admin account in a single flow.

1
Open the installer
Log in to cPanel, scroll to the Software section, and open the WordPress / Softaculous installer. Click Install Now.
2
Choose protocol and domain
Set the protocol to https:// (your SSL is free and usually already active). Pick your domain, and leave the “In Directory” field blank so WordPress loads at yourdomain.com, not yourdomain.com/wp.
3
Set site details
Enter your Site Name and Tagline (you can change these later under Settings → General).
4
Create a secure admin
Choose an admin username that is not “admin”, a long passphrase, and a real email address you monitor — this is how you recover access.
5
Install
Click Install. After about a minute you’ll get links to your site and its wp-admin login.

Method 2: manual install

If you prefer full control, install by hand:

1
Download & upload
Download WordPress from wordpress.org, then upload the zip into public_html via File Manager and extract it.
2
Create a database
Use the MySQL Database Wizard to create a database and user, grant all privileges, and note the three values.
3
Run setup
Visit your domain and complete the on-screen installer, entering the database name, user and password (host is usually localhost).
// wp-config.php — the values the installer writes
define( 'DB_NAME', 'yoursite_wp' );
define( 'DB_USER', 'yoursite_wpuser' );
define( 'DB_PASSWORD', 'your-strong-password' );
define( 'DB_HOST', 'localhost' );

Do these five things immediately after

1
Set permalinks
Settings → Permalinks → Post name. Clean URLs help SEO and sharing.
2
Confirm HTTPS
Settings → General → make sure both addresses use https://, then force HTTPS site-wide.
3
Delete the samples
Remove the “Hello World” post, the sample page, and any unused default themes and plugins.
4
Install only what you need
Add an SEO plugin, a caching plugin and a security plugin — and nothing you won’t use.
5
Set the timezone & email
Settings → General → set your timezone to Kolkata, and confirm the admin email is one you check.

Troubleshooting common install problems

SymptomLikely causeFix
Site loads at /wpYou filled the “In Directory” fieldReinstall with that field blank, or move files to public_html
“Error establishing a database connection”Wrong DB details (manual install)Check name, user, password and host in wp-config.php
Blank white pagePlugin/theme conflict or low memoryDeactivate plugins; raise the PHP memory limit
Not secure warningSSL not active or http URLsRun AutoSSL, set URLs to https, fix mixed content
Key takeaway

Use the one-click installer, install at the root with a secure non-“admin” account, then immediately set Post-name permalinks, force HTTPS, and add only the few plugins you need — that’s a clean, fast, secure WordPress start.

Frequently asked questions

With the one-click installer, about one to two minutes. A manual install takes ten to fifteen minutes including creating the database and running setup.

Not with the one-click installer — it creates the database automatically. You only create one manually if you’re doing a manual install.

Yes. Create the subdomain or addon domain first, then choose it in the installer’s domain dropdown so WordPress installs into that site’s folder.

Yes. WordPress is free and the installer is included with your cPanel hosting. You only pay for the hosting and domain themselves.

Related WordPress guides

Want us to handle this for you?

Our Delhi-based engineers set up, secure and optimise hosting for you — with free migration and real human support.