
WordPress powers more than 40% of all websites, and on cPanel hosting you can have it running in about two minutes. This guide shows both ways to do it – the one-click WP Toolkit installer and the manual method with your own MySQL database – then walks through the settings you should change straight after installing, and how to fix the errors people run into most.
Screenshots are from a real cPanel account (Jupiter theme, cPanel 138). Domain names and usernames are replaced with example values.
Before you start: what you need
- A domain pointed to your hosting. Its nameservers or A record must point to your server. If you just registered or moved the domain, give DNS a few hours – see DNS propagation not working.
- An SSL certificate. cPanel's AutoSSL issues a free certificate once DNS points to the server. Install WordPress on
https://from the start – changing later means rewriting URLs. Trouble? See SSL / HTTPS not working in cPanel. - PHP 8.2 or newer. Current WordPress runs best on PHP 8.2–8.3. You can check and change it in cPanel → MultiPHP Manager.
- A hosting plan that suits WordPress – LiteSpeed web server, NVMe storage and enough PHP workers make a visible difference. Our WordPress hosting plans are set up for exactly this.
Method 1: Install WordPress with WP Toolkit (recommended)
WP Toolkit is the WordPress manager built into cPanel. It creates the database, downloads WordPress, writes the configuration and applies security hardening for you.
Step 1 – Open WP Toolkit
Log in to cPanel and open WordPress Management (or search for "WP Toolkit" in the tools search box). On a fresh account you will see "You don't have WordPress sites connected yet" with an Install WordPress button.
If you already installed WordPress some other way, click Scan instead – WP Toolkit finds existing installs and lets you manage updates, backups and security for them too.
Step 2 – Fill in the install form
Click Install WordPress. The form has three parts:
| Field | What to enter |
|---|---|
| Installation path | Choose https and your domain. Leave the directory box empty to install on the main domain (example.com). Type a folder name such as blog only if you want WordPress at example.com/blog. |
| Website title | Your site or business name – you can change it later in Settings → General. |
| Plugin/theme set | "None" keeps the install clean. Add only the plugins you need afterwards. |
| Website language / Version | Pick your language; keep the current version. |
| Username | Never use "admin". It is the first name bots try. Use something unique. |
| Password | Click Generate and save it in your password manager. |
| An address you check – password resets and security notices go here. |
Under Database WP Toolkit suggests a database name, user and a random table prefix. The defaults are fine; the random prefix (instead of wp_) is a small extra protection against automated SQL attacks.
Under Automatic Update Settings choose "Install only minor (security) updates" for WordPress itself if you want full control, or "Install all updates" for a small business site where nobody checks updates regularly.
Step 3 – Install and log in
Click Install. After 30–90 seconds you will see the new site in WP Toolkit with links to Log in (no password needed from here) and to the site itself. Your admin address is always https://example.com/wp-admin.
Method 2: Install WordPress manually
Use the manual method when an installer is not available, when you want to install a specific WordPress package, or when you want to understand exactly what is on your server.
Step 1 – Create a database and user
Open cPanel → Database Wizard.
- Create a database – type a short name such as
wpsite. cPanel adds your account prefix, so the full name becomescpuser_wpsite. Write the full name down. - Create a database user – again a short name plus a strong generated password. Write both down.
- Add the user to the database – tick ALL PRIVILEGES and click Next Step.
Step 2 – Upload WordPress
- Download the latest ZIP from wordpress.org.
- In cPanel → File Manager, open
public_html(or the document root of your domain – see cPanel → Domains). - Click Upload, upload the ZIP, then right-click it → Extract.
- The files land in a folder called
wordpress. Open it, Select All, Move them topublic_html, then delete the empty folder and the ZIP.
Make sure there is no old index.html left in public_html – a default "coming soon" page loads before WordPress and makes it look as if nothing happened.
Step 3 – Run the installer
Visit your domain. WordPress asks for:
- Database Name – the full name with prefix, e.g.
cpuser_wpsite - Username / Password – the database user from step 1 (not your cPanel login)
- Database Host –
localhost - Table Prefix – change
wp_to something random such asx7k_
Click Run the installation, then enter the site title, admin username, password and email – the same rules as in Method 1 apply.
WP Toolkit vs manual: which should you use?
| WP Toolkit | Manual | |
|---|---|---|
| Time | About 2 minutes | 10–15 minutes |
| Database setup | Automatic | You create it |
| Security hardening | One-click checks built in | Do it yourself |
| Updates, cloning, staging | From one dashboard | Inside WordPress / plugins |
| Best for | Almost everyone | Special setups, learning, custom packages |
8 things to do right after installing
- Settings → General: check that both URLs start with
https://and set your time zone. - Settings → Permalinks: choose "Post name" for clean, SEO-friendly URLs.
- Delete what you don't use: the sample post, sample page, "Hello Dolly" and unused default themes (keep one default theme as a fallback).
- Install a caching plugin: on LiteSpeed servers use LiteSpeed Cache – it does page caching, image optimisation and CSS/JS minification in one plugin.
- Security: in WP Toolkit open the site → Security and apply the recommended measures (block access to sensitive files, disable file editing in the dashboard, turn off XML-RPC if you don't need it).
- Backups: set up a backup plugin that stores copies off the server, and know how to restore with cPanel – see back up and restore in cPanel.
- Email delivery: WordPress contact forms often land in spam. Send through a real mailbox with an SMTP plugin and set SPF/DKIM – see cPanel email not sending.
- Search engines: make sure Settings → Reading → "Discourage search engines" is unticked when the site goes live, and submit your sitemap in Google Search Console.
Common install problems and fixes
"Error establishing a database connection"
The database name, user or password in the WordPress configuration doesn't match, or the user was never added to the database. Re-check the full prefixed names in cPanel → MySQL Databases and confirm the user has ALL PRIVILEGES. Step-by-step: database connection error in cPanel.
The domain still shows the old page or a "default page"
Either an index.html is still in the folder, WordPress was installed in a sub-folder, or DNS still points to the old server. Check the document root in cPanel → Domains.
500 Internal Server Error after installing a plugin or theme
Rename the plugin's folder in wp-content/plugins through File Manager to disable it, then check the error log. Full guide: fix a 500 internal server error.
"Maximum upload file size exceeded" or memory errors
Raise upload_max_filesize, post_max_size and memory_limit in cPanel → MultiPHP INI Editor – see PHP settings and file permissions.
Site loads without styling ("broken layout") on https
Mixed content: the site URL is still http://. Fix both URLs in Settings → General and clear the cache.
Frequently asked questions
Is WP Toolkit free?
Yes, on hosting where the provider includes it. Some advanced features (smart updates, bulk actions) depend on the licence your host has; installing, updating, cloning and security checks are standard.
Can I install several WordPress sites on one cPanel account?
Yes – add each domain in cPanel → Domains first, then choose it in the installation path. Each site gets its own database. Check your plan's limits on domains and resources.
Can I move an existing WordPress site instead of starting fresh?
Yes. Follow our guide to migrate a website to a new host without downtime, or let our team move it for you through hosting migration.
How much hosting does a WordPress site need?
A business or blog site runs well on a good shared plan with 1–2 GB RAM per account and NVMe storage. Busy WooCommerce shops and membership sites are better on a VPS.
Want WordPress ready in minutes? XMart Host WordPress hosting includes cPanel with WP Toolkit, LiteSpeed Cache, free SSL and daily backups – and our support team installs WordPress for you on request.
