How to Install WordPress in cPanel: A Complete Step-by-Step Guide (2026)
If you’ve just purchased a web hosting plan From Nanoshellnet and want to launch a website, learning how to install WordPress in cPanel is the very first skill you need. WordPress powers over 43% of all websites on the internet, and cPanel is the most widely used web hosting control panel in the world. Together, they make launching a professional website surprisingly simple — even for complete beginners.
In this comprehensive guide, you’ll learn two proven methods to install WordPress in cPanel: the fast Softaculous auto-installer method and the manual installation method. Both are covered in detail, with clear steps, so you can choose the approach that works best for your hosting environment.
Table of Contents
Quick tip
If your hosting provider offers Softaculous or Installatron in cPanel, use Method 1. It takes under five minutes. Use Method 2 (manual) only if your host doesn’t offer an auto-installer, or if you want full control over the installation.
What Is cPanel and Why Use It for WordPress?
cPanel is a web-based hosting control panel that allows you to manage every aspect of your web hosting account from a single dashboard. It includes tools to manage domains, email accounts, databases, file storage, security certificates, and application installers — all without needing to use command-line interfaces.
Installing WordPress through cPanel is the recommended approach for most website owners because:
- It requires no technical expertise or coding knowledge
- Auto-installer tools like Softaculous handle database creation and file upload automatically
- It takes as little as 3–5 minutes from start to finish
- You get a fully configured WordPress installation ready to use immediately
- Most shared, VPS, and managed hosting plans include cPanel access by default
Before You Begin: Prerequisites
Before installing WordPress in cPanel, make sure you have the following in place:
- A web hosting account with cPanel access (Nanoshellnet, Bluehost, SiteGround, Hostinger, NameCheap, GoDaddy, or any cPanel-based host)
- A registered domain name pointing to your hosting server’s nameservers
- Your cPanel login credentials (username and password sent by your host via email)
- PHP 7.4 or higher enabled on your server (most hosts set this by default)
- MySQL or MariaDB database support (standard on virtually all cPanel hosts)
Important
Make sure your domain’s DNS has fully propagated to your hosting server before installing WordPress. DNS propagation can take up to 48 hours after pointing your domain to new nameservers, though it often completes within 1–4 hours.
Method 1: Install WordPress in cPanel Using Softaculous (Recommended)
Softaculous is a premium auto-installer bundled with most cPanel hosting plans. It automates the entire WordPress installation process — creating the database, uploading files, and configuring settings — in just a few clicks. This is by far the easiest way to install WordPress in cPanel.
1 Log in to your cPanel account
Open your browser and go to your hosting login URL, which is typically yourdomain.com/cpanel or yourdomain.com:2083. Enter your username and password provided by your hosting company. Once logged in, you’ll land on the cPanel dashboard showing all available tools and sections.

2 Navigate to Softaculous Apps Installer
Scroll down on your cPanel dashboard until you see the Software section. Click on Softaculous Apps Installer. You may also see a direct WordPress icon — clicking that will take you straight to the WordPress installation screen. The Softaculous dashboard shows all available applications you can install with one click.


3 Click on WordPress and then “Install Now”
Inside Softaculous, find WordPress in the list (it’s usually featured prominently in the CMS section or at the top). Click on it to open the WordPress page, then click the blue Install Now button to begin the installation wizard.


4 Configure the installation settings
You’ll now see a form where you configure your WordPress installation. Fill in the following fields carefully:
- Choose Protocol: Select
https://if you have an SSL certificate, orhttp://if not - Choose Domain: Select the domain where you want to install WordPress from the dropdown
- In Directory: Leave this blank to install WordPress in the root directory (recommended for a main site). Type a folder name (e.g.,
blog) if you want it at yourdomain.com/blog - Site Name: Enter your website’s name (you can change this later in WordPress settings)
- Site Description: A short tagline or description of your site
- Admin Username: Create a unique admin username. Avoid using “admin” as it’s a common hacking target
- Admin Password: Use a strong password with letters, numbers, and special characters
- Admin Email: Enter a valid email address — this is used for password resets and notifications

5 Choose your theme (optional)
Softaculous lets you optionally choose a starter theme for your WordPress site during installation. You can scroll through free themes and select one, or skip this step entirely — you can always install and change themes from within the WordPress dashboard later. Selecting a theme here simply pre-installs it.
6 Click “Install” and wait for completion
Once you’ve filled in all required fields, scroll to the bottom and click the Install button. Softaculous will automatically create a MySQL database, configure your wp-config.php file, and upload all WordPress core files. This process usually takes 30–60 seconds. When complete, you’ll see a success message with your WordPress site URL and your admin login link (usually yourdomain.com/wp-admin).




Pro tip
Bookmark your WordPress admin URL (
yourdomain.com/wp-admin) immediately after installation. This is the link you’ll use every time you want to log in and manage your website.
Method 2: How to Manually Install WordPress in cPanel
If your hosting provider doesn’t offer Softaculous, or if you prefer full control over your WordPress installation, you can install WordPress manually through cPanel. This method takes more steps but gives you a deeper understanding of how WordPress works under the hood.
Step 1 — Download the Latest WordPress Package
Visit wordpress.org/download and download the latest version of WordPress as a .zip file. Always use the official WordPress.org website to ensure you’re getting the genuine, unmodified package. At the time of writing, the latest version is WordPress 6.x.
Step 2 — Create a MySQL Database in cPanel
WordPress requires a database to store all your content, settings, and user data. To create one in cPanel:
- From your cPanel dashboard, click on MySQL Databases in the Databases section
- Under “Create New Database”, type a name for your database (e.g.,
mysite_db) and click Create Database - Scroll down to “MySQL Users” and create a new database user with a strong password — write down the username and password
- Under “Add User To Database”, select your new user and your new database, then click Add
- On the next screen, check All Privileges and click Make Changes
Note your database name, database username, and database password — you’ll need these in a later step when configuring WordPress.
Step 3 — Upload WordPress Files via File Manager
Now you need to upload the WordPress files to your hosting server:
- In cPanel, go to the Files section and click File Manager
- Navigate to the public_html directory — this is your website’s root folder
- Click the Upload button in the toolbar and upload the WordPress .zip file you downloaded
- Once uploaded, right-click the .zip file and select Extract to extract it in place
- A folder called wordpress will appear — open it and select all files inside
- Move all selected files one level up to
public_html(or your chosen subdirectory) - Delete the now-empty
wordpressfolder and the original .zip file to keep things tidy
Note
If you want WordPress to run from a subdirectory (e.g., yourdomain.com/blog), create a new folder inside public_html named “blog” and upload the WordPress files there instead of the root public_html directory.
Step 4 — Configure wp-config.php
The wp-config.php file tells WordPress how to connect to your database. In File Manager, locate the file named wp-config-sample.php in your WordPress directory. Right-click it, select Rename, and rename it to wp-config.php. Then right-click the file and select Edit.
Find the following lines and replace the placeholder values with your actual database details:
- Replace
database_name_herewith your database name - Replace
username_herewith your database username - Replace
password_herewith your database password - Leave
DB_HOSTaslocalhost(correct for most cPanel hosts)
Save the file when done.
Step 5 — Run the WordPress Installation Wizard
With your files uploaded and database configured, it’s time to run the WordPress installer. Open your browser and navigate to your domain (e.g., yourdomain.com). WordPress will automatically detect the wp-config.php file and launch the installation wizard. Follow these prompts:
- Select your preferred language and click Continue
- Enter your Site Title, choose an Admin Username (avoid “admin”), set a strong Password, and enter your Admin Email
- Optionally uncheck “Discourage search engines from indexing this site” if you want your site indexed immediately
- Click Install WordPress
Within seconds, you’ll see the “WordPress has been installed” success screen. Click Log In to access your new WordPress dashboard.
Post-Installation: Essential Steps After Installing WordPress in cPanel
Congratulations — your WordPress site is live! But there are a few critical steps you should complete immediately after installation to ensure your website is secure, fast, and properly configured.
1. Install a Free SSL Certificate
HTTPS is essential for SEO rankings, user trust, and data security. Most cPanel hosting providers offer a free Let’s Encrypt SSL certificate. To activate it, go back to your cPanel dashboard, find the Security section, and click SSL/TLS or Let’s Encrypt SSL. Select your domain and click Issue. Once installed, go to WordPress Settings → General and update your WordPress Address and Site Address from http:// to https://.
2. Set Your Permalink Structure
By default, WordPress uses ugly URL structures like ?p=123. Switch to a clean, SEO-friendly structure immediately. In your WordPress dashboard, go to Settings → Permalinks and select Post Name (e.g., yourdomain.com/sample-post/). This is the most SEO-friendly option and makes your URLs readable by both humans and search engines.
3. Install a Security Plugin
Protect your WordPress installation from brute-force attacks and malware. Install a reputable security plugin such as Wordfence Security, Sucuri Security, or iThemes Security. These plugins add firewall protection, login attempt limiting, and malware scanning to your WordPress site at no cost.
4. Install an SEO Plugin
To optimize your WordPress site for search engines, install the Yoast SEO or Rank Math plugin. These tools help you write SEO-optimized content, generate XML sitemaps, add meta descriptions, and monitor your on-page SEO scores — all from within the WordPress editor.
5. Install a Caching Plugin
Page speed is a confirmed Google ranking factor. Install a caching plugin like WP Super Cache, W3 Total Cache, or LiteSpeed Cache to dramatically improve your site’s loading speed. A faster site means better user experience and improved search engine rankings.
6. Update WordPress, Themes, and Plugins
Before building out your site, go to Dashboard → Updates and install any available updates for WordPress core, themes, and plugins. Keeping your installation up to date is the single most important step for maintaining site security.
Common WordPress cPanel Installation Errors and How to Fix Them
Even with careful setup, you may encounter errors during or after installation. Here are the most common issues and their solutions:
Error Establishing a Database Connection
This error means WordPress cannot connect to your MySQL database. Open your wp-config.php file and double-check that your DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST values are correct. Ensure the database user has been granted full privileges on the database in cPanel’s MySQL Databases section.
WordPress Installation Stuck or Blank Screen
A blank white screen (“White Screen of Death”) during or after installation is usually caused by a PHP memory limit issue or a plugin conflict. In cPanel, go to your File Manager, navigate to public_html, and open the wp-config.php file. Add the line define('WP_MEMORY_LIMIT', '256M'); before the line that reads “That’s all, stop editing.”
404 Not Found After Installation
If you get a 404 error when visiting your site after installation, the issue is usually with the .htaccess file. Log into your WordPress dashboard, go to Settings → Permalinks, and simply click Save Changes without changing anything. This regenerates the .htaccess file with the correct rewrite rules.
Missing Stylesheet Error When Activating a Theme
This error occurs when you try to upload a theme .zip file that contains a parent folder wrapping the actual theme folder. When downloading themes from third-party marketplaces, make sure you upload only the inner theme folder’s .zip, not the outer package .zip. Alternatively, extract the outer zip first and upload the correct inner zip to WordPress.
Can I install WordPress in cPanel for free?
Yes, WordPress itself is completely free and open-source. You do need a paid web hosting account with cPanel access, but the software and installation process are entirely free. Many hosting providers offer hosting plans starting from as little as $2–$5 per month.
How long does it take to install WordPress in cPanel?
Using Softaculous, WordPress can be installed in 3–5 minutes. The manual installation method takes approximately 20–30 minutes for beginners following a step-by-step guide.
Can I install multiple WordPress sites in one cPanel account?
Yes. cPanel allows you to host multiple domains (called “addon domains”) under one account. You can install a separate WordPress instance for each domain or subdomain, each with its own database and files.
What is the difference between WordPress.com and WordPress.org?
WordPress.org is the free, self-hosted version of WordPress that you install on your own hosting account via cPanel. WordPress.com is a hosted service where WordPress manages the server for you. For full control, customization, and SEO flexibility, WordPress.org installed via cPanel is always the recommended choice.
Do I need technical skills to install WordPress in cPanel?
No technical skills are required to use the Softaculous auto-installer method. The manual method requires basic familiarity with file management and text editing, but this guide walks you through every step in plain language.
Is it safe to install WordPress using Softaculous?
Yes, absolutely. Softaculous is a trusted, industry-standard application installer used by thousands of web hosting companies worldwide. It installs the official, unmodified WordPress package from WordPress.org automatically.
Conclusion
Installing WordPress in cPanel is one of the most straightforward tasks in web development, and now you know exactly how to do it — both with the Softaculous auto-installer and by hand. Whether you chose the quick one-click method or the manual route, you now have a fully functional WordPress website ready to customize.
Remember to complete your post-installation checklist: activate SSL, configure SEO-friendly permalinks, install a security plugin, and keep everything updated. These steps turn a basic WordPress install into a secure, fast, and search-engine-optimized website.
If you run into any errors along the way, refer to the troubleshooting section above. And if you’re ready to take the next step, explore choosing the right WordPress theme and installing essential plugins to bring your site’s design and functionality to life.
Quick recap: How to install WordPress in cPanel
Log into cPanel → Open Softaculous → Click WordPress → Fill in your site details → Click Install → Log into wp-admin → Complete your post-install checklist. That’s all it takes to launch a WordPress website from scratch in 2026.



