Learning how to install WordPress on cPanel is one of the fastest ways to launch a new website. Most cPanel hosting accounts include a one-click installer such as Softaculous or WP Toolkit, so you do not need to upload files or create a database manually.
The main mistake beginners make is installing WordPress in the wrong folder. For example, they install it in a /wordpress directory and later find that their site opens at yourdomain.com/wordpress instead of yourdomain.com. Another common issue is using a weak admin login or forgetting to activate SSL before publishing the site.
This guide uses a standard cPanel hosting account as the example. Hostinger primarily uses its own hPanel dashboard, so the exact buttons will look different there.
Why Installing WordPress on cPanel Correctly Matters
WordPress needs three things to work properly: website files, a database, and a domain connected to your hosting account. A cPanel installer handles most of this automatically.
When installed correctly, WordPress gives you a clean dashboard where you can create pages, publish blog posts, install themes, add plugins, and manage users.
A proper installation also helps you avoid common problems such as:
- WordPress opening on the wrong URL
- “Error establishing a database connection”
- Missing SSL or HTTPS warnings
- Login security issues
- Broken permalinks
- Plugin conflicts caused by outdated installations
Pro Tip: Install WordPress on your main domain only after confirming the domain is connected to the hosting account. Otherwise, use a temporary URL or staging domain until DNS is ready.
Prerequisites Before You Install WordPress on cPanel
Keep these details ready before you begin:
- A web hosting plan with cPanel access
- A domain name connected to the hosting account
- Your cPanel username and password
- A secure email address for the WordPress administrator account
- A strong password for WordPress
- Around 10 to 15 minutes for the setup
- An SSL certificate, if your host provides one
Most cPanel hosts offer either WP Toolkit, Softaculous Apps Installer, or another one-click installer. WP Toolkit is normally found under Domains, while Softaculous is usually located in the Software section.
How to Install WordPress on cPanel Using Softaculous or WP Toolkit
Step 1: Log In to Your cPanel Account
Start by logging in to your hosting provider’s cPanel dashboard.
Most hosting companies provide a direct cPanel login button inside their customer area. You may also be able to access it by adding /cpanel to your domain, such as:
yourdomain.com/cpanel
Once logged in, use the search bar at the top of cPanel and search for:
- Softaculous
- WordPress Manager
- WP Toolkit
- WordPress
Your host may use different names, but the installer normally appears under the Software or Domains section.
Pro Tip: Do not confuse cPanel with WHM. cPanel is for managing your own hosting account and website. WHM is usually for server administrators, resellers, or hosting providers.
[Insert Screenshot showing Softaculous or WP Toolkit inside cPanel]
Step 2: Open WordPress Installer and Select Install
If your host offers Softaculous, click Softaculous Apps Installer, search for WordPress, and click Install Now.
If your host offers WP Toolkit, go to Domains, select WP Toolkit, and choose the option to install WordPress.
cPanel’s current documentation confirms that WordPress can be installed through cPanel → Domains → WP Toolkit. Your hosting provider can choose whether WP Toolkit is available in your account.
In Softaculous, click WordPress, then click Install to open the installation form.
[Insert Screenshot showing the WordPress Install button in Softaculous]
Step 3: Choose the Correct Installation URL
This is the most important part of the setup.
The installer will ask you to choose:
- Protocol
- Domain
- In Directory
For the protocol, choose https:// if your SSL certificate is already active. If SSL is not active yet, you can choose http:// temporarily, but you should switch to HTTPS before launching the site publicly.
For the domain, select the exact domain where you want WordPress installed.
For In Directory, leave the field blank if you want your website to open directly at:
Do not enter “wordpress,” “blog,” or another folder name unless you specifically want your site to open at a subdirectory URL such as:
Softaculous specifically notes that the In Directory field must be blank when you want WordPress installed in the main domain root.
Pro Tip: Do not install two WordPress websites in the same document root. cPanel warns that multiple WordPress installations sharing one document root can create
.htaccessconflicts and other problems.
[Insert Screenshot showing the protocol, domain, and In Directory fields]
Step 4: Set Up Your WordPress Admin Details
Next, create your WordPress administrator account.
Enter:
- Site Name
- Site Description
- Admin Username
- Admin Password
- Admin Email
- Language
Use a username that is difficult to guess. Avoid usernames such as:
- admin
- administrator
- your domain name
- your personal name
Choose a strong password with uppercase letters, lowercase letters, numbers, and symbols.
Use an email address that you check regularly. WordPress uses this email address for password resets, update notifications, and important security messages.
Softaculous lets you choose the WordPress admin username, password, email address, language, domain, and installation folder before launching the installation.
Pro Tip: Save your WordPress login details in a password manager. Do not rely on browser autofill as your only backup.
[Insert Screenshot showing WordPress admin settings in Softaculous]
Step 5: Choose Basic Settings and Install WordPress
Before clicking Install, review the remaining settings.
Some installers offer options for:
- Automatic WordPress core updates
- Plugin updates
- Theme updates
- Database name
- Table prefix
- Backup settings
- Default theme selection
For beginners, automatic core updates are usually a good idea. Plugin and theme updates should be enabled carefully because some updates can create compatibility problems on heavily customized websites.
After checking the details, click Install.
The installer will create the WordPress files, database, database user, and configuration file. Once complete, you will see two links:
- Your new website URL
- Your WordPress admin login URL
Your WordPress dashboard is normally available at:
Step 6: Log In and Complete Basic WordPress Settings
Open your WordPress admin login page and sign in.
Before installing themes or plugins, complete these basic settings:
- Go to Settings and click General.
- Update the Site Title and Tagline.
- Confirm that the WordPress and Site Address use
https://. - Go to Settings and click Permalinks.
- Select Post name.
- Click Save Changes.
- Go to Users and confirm that only trusted users have administrator access.
The “Post name” structure creates cleaner URLs, such as:
yourdomain.com/about-us
instead of:
yourdomain.com/?p=123
Pro Tip: Do not change permalink structures repeatedly after your site has published many pages. Changing URLs later can create broken links unless you create redirects.
Step 7: Activate SSL and Force HTTPS
Your WordPress site should use HTTPS before you begin publishing content or collecting form submissions.
In cPanel, look for:
- SSL/TLS Status
- Security
- Let’s Encrypt SSL
- AutoSSL
- SSL/TLS
The exact menu depends on your host.
Once SSL is active, update your WordPress address and site address under Settings → General so they use https://.
Then test these versions:
The HTTP version should redirect to HTTPS.
Pro Tip: If you see a “Not Secure” warning after SSL activation, clear your browser cache and WordPress cache. Also check whether images, scripts, or fonts are still loading through HTTP.
Step 8: Install a Theme and Essential Plugins
Your WordPress installation is now ready, but keep the setup simple.
Go to Appearance → Themes → Add New Theme and install a lightweight, trusted theme.
Then go to Plugins → Add New Plugin and install only the plugins your site needs.
Most new websites benefit from:
- An SEO plugin
- A cache plugin
- A security plugin
- A backup plugin
- A contact form plugin
- An image optimization plugin
Avoid installing many plugins just because they look useful. Too many plugins can slow down the site, increase security risks, and create update conflicts.
Pro Tip: Before installing a plugin, check its active installations, latest update date, reviews, and compatibility with your WordPress version.
How to Install WordPress on cPanel Manually
A manual installation is useful when your cPanel account does not include Softaculous, WP Toolkit, or another installer.
WordPress recommends these basic steps for manual installation:
- Download WordPress from the official WordPress website.
- Create a MySQL or MariaDB database.
- Create a database user and grant full permissions.
- Upload WordPress files to your domain folder.
- Configure
wp-config.php. - Run the installation script through your browser.
In cPanel, you can usually create the database through MySQL Databases.
You will need:
- Database name
- Database username
- Database password
- Database host, usually
localhost
After creating the database, upload the WordPress files to the correct folder. For a main domain, this is usually public_html.
Then visit:
WordPress will ask for the database details and let you create the site title, admin account, and password. WordPress documentation states that a root-domain installation requires uploading the contents of the WordPress folder, not the folder itself, into the website root directory.
Pro Tip: Use the manual method only when you need it. Softaculous or WP Toolkit is simpler for most beginners and reduces the chance of database setup mistakes.
Common Problems When Installing WordPress on cPanel
WordPress Opens at /wordpress Instead of Your Main Domain
This happens when you entered “wordpress” in the In Directory field.
Fix: Reinstall WordPress with the directory field blank, or move the files carefully from the subfolder to your main domain directory.
Error Establishing a Database Connection
This usually means WordPress cannot connect to the database.
Fix: Check the database name, username, password, and database host inside wp-config.php. cPanel advises confirming that these credentials exactly match the database credentials in your account.
You See a 404 Error on Pages
This is often a permalink issue.
Fix: Log in to WordPress, go to Settings → Permalinks, and click Save Changes.
The Website Shows a 500 Internal Server Error
A broken .htaccess file, incorrect PHP version, plugin conflict, or wrong file permission can cause this.
Fix: Rename the .htaccess file through cPanel File Manager, then log in to WordPress and save permalinks again to create a fresh file.
You Cannot Log In to WordPress
You may be using the wrong username or password.
Fix: Open yourdomain.com/wp-admin, click Lost your password?, and reset the password using your administrator email.
SSL Is Not Working
The certificate may still be issuing, or your domain may not be connected correctly.
Fix: Check your domain DNS settings, confirm that the domain points to the correct server, and review the SSL/TLS Status section in cPanel.
Performance and Security Tips After Installation
Once WordPress is installed, follow these basic practices:
- Keep WordPress core updated
- Update plugins and themes regularly
- Delete unused plugins and themes
- Use strong passwords
- Enable two-factor authentication
- Create regular backups
- Enable caching
- Compress large images
- Use a lightweight theme
- Avoid pirated themes and plugins
- Limit administrator access
- Check website speed after major changes
A clean WordPress setup is easier to manage, faster to load, and less likely to break during updates.
Why a cPanel Host With WordPress Tools Makes Installation Easier
A cPanel host that includes Softaculous or WP Toolkit makes WordPress installation much easier because it handles the files, database, and basic configuration for you.
WP Toolkit is built for managing WordPress installations inside cPanel, while Softaculous also supports installation, upgrades, backups, restores, cloning, and staging features depending on the host’s setup.
If your provider uses Hostinger’s hPanel instead of cPanel, you will use its WordPress installation tools rather than Softaculous or WP Toolkit. The goal is still the same: install WordPress in the correct domain location, secure it with SSL, and maintain regular backups.
How to Install WordPress on cPanel: Final Thoughts
Knowing how to install WordPress on cPanel gives you a quick and reliable way to launch a blog, business site, portfolio, affiliate website, or online store.
Use Softaculous or WP Toolkit whenever possible. Choose the correct domain, leave the directory field blank for your main website URL, create a secure administrator account, activate HTTPS, and keep the site updated.
Once WordPress is installed, you can focus on designing your website, publishing content, and growing traffic instead of dealing with server files and databases.
FAQs About How to Install WordPress on cPanel
Is WordPress free to install on cPanel?
Yes. WordPress software is free. You only need a hosting plan and domain name to install and run it online.
Do all cPanel hosts include Softaculous?
No. Some hosts include Softaculous, while others offer WP Toolkit, WordPress Manager, or no one-click installer at all. If there is no installer, you can install WordPress manually.
Should I leave the In Directory field blank?
Yes, leave it blank if you want WordPress to open directly at your main domain, such as yourdomain.com.
Can I install multiple WordPress websites in one cPanel account?
Yes, if your hosting plan allows multiple domains. Each WordPress installation should use its own domain, subdomain, or separate folder. Do not place multiple installations in the same document root.
How do I access my WordPress dashboard after installation?
Visit:
yourdomain.com/wp-admin
Then log in with the administrator username and password created during installation.
Can I install WordPress without Softaculous?
Yes. You can install it manually by uploading WordPress files, creating a database, editing wp-config.php, and running the installation script in your browser.