How to Install WordPress on cPanel Hosting: 1-Click and Manual Methods

To install WordPress on cPanel hosting, open cPanel, go to the Software section and run the one-click installer (WP Toolkit or Softaculous): choose your domain, set an admin username and password, and click Install. It takes about two minutes. If your host has no installer, or you want full control, you can install it manually by uploading the WordPress files, creating a MySQL database and running the web installer.
Both methods are below, followed by the ten settings to change right after installation and the mistakes that cause most broken first sites.
Before you start: a 3-point check
The domain points to your hosting. If DNS still points elsewhere, the installer may succeed but you will not see the site. You can install on a temporary URL, but you will have to change the site address later.
SSL is active. In cPanel, open SSL/TLS Status and confirm the domain has a valid certificate. Installing directly on
https://avoids redirect and mixed-content problems later.PHP is on a supported version. Check MultiPHP Manager or Select PHP Version. Use a current PHP 8.x release; old versions are slower and no longer get security fixes.
If cPanel itself is new to you, start with our beginner's tour of cPanel so the section names below make sense.
Method 1: install WordPress with the one-click installer
Most cPanel hosts ship either WP Toolkit or Softaculous. The labels differ slightly, but the steps are the same:
Log in to cPanel and search for "WordPress" or open WP Toolkit / Softaculous Apps Installer under Software.
Click Install.
Protocol and domain: pick
https://and your domain. Choose the version withoutwwwor with it, but be consistent; this becomes your permanent site address.Directory: leave it empty to install at
example.com. Typingwphere installs atexample.com/wp, a common accident.Admin account: use a username that is not "admin" or your domain name, a long generated password and an email you actually read.
Language: choose Arabic or English now. You can change it later, but setting it here saves a step.
Click Install and wait for the success message with the admin URL, usually
example.com/wp-admin.
The installer creates the database, the database user and wp-config.php for you, with unique security keys. On managed plans such as IM HOST WordPress hosting, WP Toolkit also gives you one-click staging and backup restoration on the same screen, which you will want later when you test updates.
Method 2: install WordPress manually
The manual route is useful when there is no installer, when you need a specific setup, or simply to understand what the installer does.
Step 1: download and upload the files
Download the latest release from wordpress.org as a ZIP file.
In cPanel, open File Manager and go to
public_html(or the domain's folder if it is an addon domain). It should be empty except forcgi-binor a default index page you can delete.Click Upload, select the ZIP, then right-click it and choose Extract.
Extraction creates a folder called
wordpress. Open it, select all files, and Move them topublic_html. Then delete the emptywordpressfolder and the ZIP.
Step 2: create the database
Open MySQL Database Wizard and:
Create a database, for example
wp. cPanel saves it ascpuser_wpwith your account prefix.Create a user and generate a strong password. Copy both somewhere safe for the next step.
Tick All Privileges and finish.
Step 3: run the web installer
Visit your domain. WordPress detects that it has no configuration and starts the setup. Choose the language, then enter:
Database name and username: the full prefixed names, such as
cpuser_wp.Password: the database user's password, not your cPanel password.
Database host:
localhoston almost every cPanel server.Table prefix: you can keep
wp_. Changing it is fine but is not real security.
WordPress writes wp-config.php for you. If folder permissions prevent that, it shows the file contents so you can create wp-config.php in File Manager and paste them. Then enter the site title, admin username, password and email, and click Install WordPress.
Optional: install with WP-CLI
If your plan includes the cPanel Terminal and WP-CLI, the same install takes three commands. Replace the names, password and domain with yours:
cd ~/public_html
wp core download
wp config create --dbname=cpuser_wp --dbuser=cpuser_wpuser --dbpass='StrongPasswordHere' --dbhost=localhost
wp core install --url=https://example.com --title="My Site" --admin_user=siteowner [email protected]When you omit --admin_password, WP-CLI generates one and prints it. Copy it immediately.
The first 10 settings after installing WordPress
Permalinks: Settings → Permalinks → choose "Post name". Do this before publishing content so URLs never change later.
Timezone and date: Settings → General → set your city (for Egypt, Cairo). Scheduled posts and order times depend on it.
Site address: in the same screen, confirm both WordPress Address and Site Address start with
https://.Admin user: under Users → Profile, set a public display name so your login username is not shown on posts.
Delete sample content: the "Hello world!" post, the Sample Page, the sample comment, and themes you will not use. Keep one default theme as a fallback.
Force HTTPS: turn on Force HTTPS Redirect for the domain in cPanel. Our guide to SSL certificate types explains when the free certificate is enough.
Backups: confirm what your host backs up and how often, and set up one extra copy stored off the server.
Caching: on LiteSpeed servers, use the LiteSpeed Cache plugin; elsewhere, one well-known caching plugin, not two. Our list of WordPress speed improvements from caching to CDN covers the next steps.
Security basics: limit login attempts, enable two-factor authentication for admins, and disable the built-in file editor by adding this line to
wp-config.phpabove "That's all, stop editing":define( 'DISALLOW_FILE_EDIT', true );Search engine visibility: while building, you may tick Settings → Reading → Discourage search engines. Untick it on launch day, then add the site to Google Search Console.
Common mistakes on a first WordPress install
Installing in a subfolder by accident: the site loads at
/wpor/wordpress. Moving it later means a search-replace in the database.Installing on http: then switching to https creates mixed-content warnings and redirect loops.
Forgetting the database privileges: leads to "Error establishing a database connection".
Leaving "Discourage search engines" ticked: the site launches and never appears in Google.
Nulled themes and plugins: pirated premium plugins are the most common source of hidden malware.
Thirty plugins on day one: every plugin adds code, updates and risk. Install only what solves a real need.
Editing the theme directly: changes vanish at the next update. Use a child theme or a code snippets plugin.
Shared cPanel hosting or something bigger?
For a company site, blog or small store, cPanel hosting is the right place to start. Managed WordPress plans add tools that save time every week: the one-click staging, backups and plugin management mean you can test an update on a copy before touching the live site. If you outgrow that (heavy WooCommerce, many concurrent logged-in users, custom server software), read WordPress hosting vs a WordPress VPS to see where the line is.
Frequently asked questions
How long does it take to install WordPress on hosting?
With a one-click installer, about two to five minutes. A manual install takes 15 to 30 minutes the first time, mostly uploading files and creating the database.
Can I install WordPress before my domain is connected?
Yes, but the site will only be reachable through a temporary URL or a hosts-file entry, and you will have to update the site address later. It is simpler to point the domain first.
What is the database host for WordPress on cPanel?
Almost always localhost. Your host will tell you if it uses a separate database server.
Can I install more than one WordPress site on one hosting account?
Yes, if your plan allows several websites. Add each domain in cPanel, give it its own folder, and use a separate database for each site.
Should I install WordPress in Arabic or English?
Choose the language your admins prefer. The dashboard language does not limit content; you can run an Arabic site with an English dashboard or the opposite, and add multilingual content with a plugin.
If you would rather skip the setup work, our managed WordPress hosting starts from $3.99/mo with WP Toolkit, free SSL, daily backups and free migration of an existing site. Our support engineers can help with any step above, 24/7.
More from our blog
Discover more practical guides and product insights from the IM Host team.
View all articles