How to Install WordPress on cPanel: A Step-by-Step Guide

Installing WordPress on cPanel is a straightforward way to launch a blog, business website, portfolio, or online store. You do not need advanced coding skills to get started. With a registered domain, a compatible hosting plan, and access to your hosting control panel, you can install WordPress and prepare your website for visitors.

This guide explains how to install WordPress on cPanel using WP Toolkit or another automatic installer. If your hosting account does not include an installer, you’ll also learn how to install WordPress manually, connect your domain, configure HTTPS, set up essential WordPress settings, and troubleshoot common problems.

Quick overview: Log in to cPanel, confirm your domain and installation directory, run an available WordPress installer, and then configure security, backups, and essential website settings. If no installer is available, follow the manual installation steps below.

What Is WordPress?

WordPress is a content management system (CMS) that allows you to create and manage websites without building every page from scratch. You can use it to publish blog posts, create business pages, build a portfolio, or develop an online store.

WordPress themes control much of your website’s appearance, while plugins add features such as contact forms, SEO tools, security controls, and backup functionality.

With self-hosted WordPress, the website files and database are stored on your hosting account. Your domain name provides the address visitors use to access your website.

What Is cPanel?

cPanel is a web-based hosting control panel that helps you manage your hosting account. Depending on your hosting provider and plan, it may allow you to manage website files, databases, domains, email accounts, SSL certificates, backups, and other settings.

Some hosting accounts include WP Toolkit or another application installer that simplifies WordPress installation. Others may require you to install WordPress manually.

Important: Not every hosting plan includes the same tools. Check your hosting provider’s available features before following a particular installation method.

What You Need Before Installing WordPress

Before starting the installation, make sure you have the following:

  • A registered domain name: The address visitors will use to reach your website.
  • A compatible web hosting plan: Your hosting account must support WordPress and provide sufficient resources.
  • cPanel login details: These are normally provided by your hosting company.
  • A connected domain: Your domain’s DNS records or nameservers should point to the appropriate hosting service.
  • SSL/HTTPS support: A valid SSL/TLS certificate helps protect connections between your website and visitors.
  • A compatible server environment: Check the current WordPress requirements for PHP, database software, and HTTPS.

If you still need a domain, you can register a domain name with FoxNett. If you already own a domain but need hosting, explore FoxNett’s cPanel web hosting plans.

Not sure how a domain and hosting work together? A domain is your website’s address, while hosting provides the server space and resources needed to run the website. You need the two to work together for visitors to access your site through your domain.

If you prefer a WordPress-focused environment with one-click installation and additional management features, you can also explore FoxNett’s managed WordPress hosting.

Step 1: Log In to Your cPanel Account

First, access the cPanel account associated with your hosting plan.

Your hosting provider may provide a direct login link through its client portal or welcome email. Depending on the server configuration, you may also receive a login address based on your domain or server hostname.

Follow these steps:

  1. Open the cPanel login link supplied by your hosting provider.
  2. Enter your cPanel username and password.
  3. Click Log In.
  4. Wait for the cPanel dashboard to load.

Once you enter cPanel, you should see tools for managing your hosting account. Their names and locations may differ depending on the cPanel theme and features enabled by your provider.

If your hosting provider uses a different control panel, follow its documentation instead, because the installation process may be different.

Step 2: Check Whether Your Domain Is Connected

Before installing WordPress, decide which domain or subdomain will host your website.

For example, if you want visitors to access your site at example.com, the WordPress installation must be associated with that domain and its correct document root.

To check your domain configuration:

  1. Open the Domains section in cPanel.
  2. Confirm that your intended domain appears in the account.
  3. Check the domain’s document root, if it is displayed.
  4. Confirm that the domain points to the correct hosting service.

If your domain is registered with another provider, you may need to update its nameservers or DNS records using the settings recommended by your hosting provider.

How long does a domain connection take?

DNS changes may take time to become visible across different networks. The time required varies depending on the DNS records, caching, and configuration.

If you have recently connected your domain and it does not work immediately, check the DNS settings before assuming the hosting account is broken.

Choose the correct installation directory

Your WordPress files must be placed in the directory served by the domain you want to use.

For many primary domains, the document root is public_html. Additional domains and subdomains may use different directories.

  • To make WordPress available at https://example.com, install it in the document root associated with that domain.
  • To make WordPress available at https://example.com/blog, use the intended blog subdirectory.

Check the document root before installing WordPress. Choosing the wrong directory can cause the site to display a default page, a 404 error, or an unexpected URL.

For more help connecting a domain to your hosting account, consult your hosting provider’s DNS and domain configuration instructions.

Step 3: Choose Your WordPress Installation Method

There are three common ways to install WordPress through a hosting account.

Method 1: WP Toolkit

WP Toolkit provides an interface for installing and managing WordPress. If your hosting provider has enabled it, this can be a convenient installation method.

Method 2: An automatic application installer

Some cPanel accounts include an application installer that lets you choose WordPress, select a domain, enter administrator details, and start the installation.

The installer’s name and interface depend on your hosting provider.

Method 3: Manual installation

Manual installation involves downloading WordPress, uploading its files, creating a database, assigning database privileges, and completing the setup in your browser.

Which method should you choose?

Start with WP Toolkit or another automatic installer if one is available. These options reduce the number of manual steps and can help prevent configuration mistakes.

If your hosting account does not include an installer, you can use the manual method described later in this guide.

If you want a WordPress-focused hosting environment with one-click installation, staging tools, backups, and other management features, see FoxNett’s managed WordPress hosting.

Step 4: Install WordPress Using WP Toolkit

WP Toolkit is available in some cPanel environments. Your hosting provider must enable it for your account.

4.1 Open WP Toolkit

  1. Log in to cPanel.
  2. Look for WP Toolkit, which may appear under the Domains section or in the available tools list.
  3. Click WP Toolkit.
  4. Select the option to install WordPress.

If WP Toolkit is missing, it does not necessarily mean your hosting account cannot run WordPress. Check whether another installer is available or ask your provider which installation methods your plan supports.

4.2 Configure the installation

Review the available settings before starting the installation.

Installation domain: Select the domain where you want WordPress to run.

Installation path: Leave the directory field empty if you want WordPress to open at the root of your domain. If you enter blog, the website may instead open at example.com/blog.

Website title: Enter a descriptive name for your website. You can change it later.

Administrator username: Choose a unique username rather than relying on an easily guessed default.

Administrator password: Generate a strong, unique password and store it securely.

Administrator email: Use an email address you can access for notifications and account recovery.

Language: Select the language you want to use in the WordPress dashboard.

WordPress version: Use the current stable release offered by the installer.

If the installer provides database, backup, or automatic update options, review them before continuing.

4.3 Start the installation

Once you have checked the settings:

  1. Click the installation button.
  2. Wait for the process to finish.
  3. Review the success message or installation details.
  4. Open your website using the selected domain.
  5. Locate the administrator login link supplied by the installer.

If the installation completes successfully, you can move on to configuring HTTPS and the essential WordPress settings.

Step 5: Install WordPress Using Another Automatic Installer

If WP Toolkit is unavailable, check whether your hosting account includes another application installer.

Some cPanel environments provide a dedicated WordPress installer or a tool that lists applications you can install.

The general process is:

  1. Log in to cPanel.
  2. Look for an application installer in the available software or application section.
  3. Find WordPress and open its installation page.
  4. Select the correct domain.
  5. Choose the installation directory.
  6. Enter your website title and administrator details.
  7. Review the database and update options, if available.
  8. Start the installation and wait for confirmation.

If the installer asks for a directory and you want WordPress to appear directly at your domain, leave that field empty unless the tool instructs you otherwise.

For example:

  • Root installation: https://example.com
  • Subdirectory installation: https://example.com/blog

Avoid running multiple installers in the same domain and directory. Doing so can create conflicting files or databases.

If no automatic installer is available, continue with the manual installation method below.

Step 6: Install WordPress Manually Through cPanel

Manual installation is useful when your hosting account does not provide an automatic installer. It requires more attention, especially when uploading files and configuring the database.

If a website already exists in the target directory, back it up before making changes. Do not overwrite existing files unless you understand what they contain.

6.1 Download WordPress

Visit the official WordPress download page:

Download WordPress

Download the current stable WordPress package, which normally comes as a ZIP archive.

Use the official WordPress website rather than downloading installation files from an unknown source.

6.2 Open File Manager

  1. Log in to cPanel.
  2. Open File Manager.
  3. Navigate to the document root associated with your chosen domain.
  4. Confirm that you are in the correct directory before uploading files.

For many primary domains, the directory is public_html. Additional domains and subdomains may use different directories.

If the directory already contains website files, make a backup before changing anything.

6.3 Upload and extract the WordPress files

  1. Click Upload in File Manager.
  2. Select the WordPress ZIP file from your computer.
  3. Wait for the upload to finish.
  4. Return to File Manager.
  5. Select the ZIP archive and choose Extract.
  6. Open the extracted folder, commonly named wordpress.
  7. Check that it contains the directories wp-admin, wp-content, and wp-includes, along with WordPress files such as index.php.

If the files are extracted into a nested wordpress folder but you want the website to open at your domain root, move the contents of that folder into the correct document root.

For example, the index.php file should be inside the directory that serves your website, not accidentally one level deeper.

If you intend to install WordPress at example.com/blog, use the appropriate blog directory instead.

6.4 Create a MySQL database

WordPress uses a database to store website content, settings, user accounts, and other information.

To create one:

  1. Return to the cPanel dashboard.
  2. Open MySQL Databases or the database-management tool available in your account.
  3. Find the option to create a new database.
  4. Enter a database name.
  5. Create the database.

Some cPanel accounts automatically add an account-specific prefix to the database name. For example, the name you enter as wp_site might appear as account_wp_site.

Record the complete database name exactly as it appears in cPanel.

6.5 Create a database user

Next, create a database user with a strong password.

  1. Find the section for creating a database user.
  2. Enter a unique username.
  3. Generate a strong password.
  4. Save the credentials in a secure location.
  5. Create the user.

Your database user is separate from your WordPress administrator account. Avoid reusing the same password for both.

6.6 Assign the user to the database

Creating the database and user separately may not give the user permission to access the database. You must also assign the user to it.

  1. Find the option to add a user to a database.
  2. Select the database you created.
  3. Select the corresponding database user.
  4. Grant the privileges required by WordPress, normally All Privileges for a dedicated WordPress database user.
  5. Save the changes.

Check that the database name and username include any prefixes added by cPanel. You will need the complete names during the next step.

6.7 Configure the database connection

Once the WordPress files and database are ready, open your domain in a browser.

For example:

https://example.com

If your domain points to the hosting account and the WordPress files are in the correct directory, the installation process should begin.

Select your preferred language and follow the on-screen instructions. WordPress will ask for the database connection details, which usually include:

  • Database name: The full name of the database you created.
  • Database username: The full database username.
  • Database password: The password assigned to the database user.
  • Database host: Use the host specified by your provider. Many standard cPanel environments use localhost, but this is not universal.
  • Table prefix: The default is wp_. You may choose a different prefix, but changing it is not a substitute for proper security.

Enter the details carefully and continue.

If WordPress cannot connect to the database, check the database name, username, password, assigned privileges, and database host. Each value must match your hosting configuration.

6.8 Complete the WordPress setup

After the database connection succeeds, WordPress will ask for the basic website details.

Site title: Enter the name of your website.

Username: Choose a unique administrator username.

Password: Use a strong password that you have not used on other accounts.

Email address: Enter an email address you can access for notifications and account recovery.

Search engine visibility: WordPress may provide an option that discourages search engines from indexing the site. For a public website that is ready to appear in search results, make sure this option is not enabled unintentionally.

This setting does not guarantee indexing. Search engines make their own crawling and indexing decisions.

Click the installation or completion button and wait for confirmation.

Security reminder: Never share your cPanel password, database password, or WordPress administrator credentials with an untrusted person.

Step 7: Enable SSL and HTTPS

After installing WordPress, check whether your website loads securely over HTTPS.

HTTPS encrypts the connection between a visitor’s browser and your website. A valid SSL/TLS certificate also helps browsers verify that they are communicating with the intended domain.

How to check your SSL certificate

  1. Open your website using https://.
  2. Confirm that the page loads without a certificate warning.
  3. Check your browser’s security information if you need to inspect the certificate.

If HTTPS is not working, open the SSL/TLS or SSL-status section in cPanel, if available. Some hosting providers manage certificate installation and renewal automatically.

If you cannot install or issue a certificate yourself, contact your hosting provider and ask whether the certificate covers your domain.

Once HTTPS works, check the website addresses in WordPress:

  1. Log in to the WordPress dashboard.
  2. Go to Settings → General.
  3. Review the WordPress Address (URL) and Site Address (URL).
  4. Confirm that they use the correct HTTPS address.

Do not change these URLs blindly. If your certificate is not working or the site uses a different configuration, an incorrect change can make the dashboard inaccessible.

Also check that your website redirects visitors to HTTPS consistently. Avoid conflicting redirect rules between WordPress, .htaccess, and your hosting configuration.

Step 8: Log In to the WordPress Dashboard

Once the installation is complete, you can manage your website through the WordPress dashboard.

For a typical installation, the login URL is:

https://example.com/wp-admin

Replace example.com with your own domain. If WordPress is installed in a subdirectory, include that directory in the URL.

Enter the administrator username and password you created during installation.

From the dashboard, you can manage:

  • Posts: Publish blog articles and other posts.
  • Pages: Create Home, About, Services, and Contact pages.
  • Appearance: Manage themes and supported design settings.
  • Plugins: Add functionality to your website.
  • Users: Manage accounts and permissions.
  • Settings: Configure your website’s general options.

The dashboard may look different depending on your WordPress version, theme, and installed plugins.

Step 9: Configure the Essential WordPress Settings

Installing WordPress is only the beginning. Before publishing your website, review the following settings.

9.1 Set your website title and time zone

Go to Settings → General.

Review your site title, tagline, site language, and time zone. If your website serves a Nepal-based audience, choose the appropriate Kathmandu time zone so scheduled posts and timestamps match your local time.

Save any changes.

9.2 Configure permalinks

Go to Settings → Permalinks and choose a URL structure that is readable and suitable for your website.

For many blogs, Post name is a practical choice because URLs can be short and descriptive.

For example:

https://example.com/how-to-install-wordpress

is generally easier to read and share than a URL containing only a post ID.

Before changing permalinks on an established website, plan redirects where necessary. Changing existing URLs without redirects can create broken links and SEO problems.

9.3 Choose a suitable theme

A theme controls much of your website’s design and layout.

To install one:

  1. Open Appearance → Themes.
  2. Choose Add New Theme, if available.
  3. Search for a suitable theme or upload a trusted theme package.
  4. Review its features and compatibility.
  5. Install and activate it.

Choose a theme that fits your website’s purpose and works well on mobile devices. Avoid keeping unnecessary themes installed.

9.4 Install only necessary plugins

Plugins can add contact forms, backups, security controls, SEO features, and other functionality.

Before installing a plugin, check whether it is maintained, compatible with your WordPress version, and provided by a trustworthy developer.

Install only the plugins you need. Too many poorly maintained or overlapping plugins can increase complexity, introduce security risks, or affect performance.

Installing a plugin does not automatically make your website secure, fast, or search-engine-friendly.

9.5 Set up backups

A backup can help you recover your website after accidental deletion, a failed update, a security incident, or another problem.

Check whether your hosting provider supplies backups and confirm:

  • How frequently backups are created.
  • How long backups are retained.
  • Whether restoring a backup involves extra steps or fees.
  • How you can request or perform a restoration.

If necessary, configure an independent backup solution that stores copies in a separate location. A backup kept only on the same server may be unavailable if the server itself fails.

Test the restoration process before you depend on it.

9.6 Check search engine visibility

Go to Settings → Reading and review the search-engine visibility setting.

If the website is ready for public visitors, make sure you have not accidentally enabled the option that discourages search engines from indexing it.

This setting does not guarantee indexing. Important pages must also be accessible, return appropriate status codes, and avoid unintended crawling or indexing restrictions.

9.7 Test your contact form and email

If your website includes a contact form, submit a test message and confirm that it reaches the intended destination.

Also check whether password-reset emails and other essential messages can be delivered. If email delivery fails, your hosting provider may need to help configure the appropriate mail settings.

Step 10: Test Your Website Before Publishing

Before sharing your website publicly, test it from the perspective of a visitor.

Use this checklist:

  • Open the homepage and important pages.
  • Confirm that the domain loads with HTTPS.
  • Check that navigation links work.
  • Test contact forms and other interactive features.
  • Open the website on a mobile device.
  • Check for missing images and broken links.
  • Confirm that no installation or database error appears.
  • Review the search-engine visibility setting.
  • Confirm that backups are configured.
  • Remove sample content you do not intend to publish.
  • Check page-loading speed and address obvious performance problems.

You can use Google PageSpeed Insights to assess performance and identify opportunities for improvement.

A successful WordPress installation does not automatically mean the website is fast. Themes, images, scripts, plugins, caching, and hosting resources can all affect loading performance.

Common WordPress Installation Problems and How to Fix Them

Even when you follow the installation steps carefully, problems can occur. Use these checks to help identify the cause.

1. WordPress installer is missing from cPanel

Possible cause: Your hosting provider has not enabled WP Toolkit or another application installer for your account.

What to do: Check the available tools in cPanel and contact your hosting provider to confirm which installation methods are supported. If necessary, use manual installation.

2. The domain shows a default page or does not load

Possible causes: DNS records point to the wrong destination, DNS changes are still propagating, the domain uses the wrong document root, or the WordPress files are in the wrong directory.

What to do: Verify the domain’s DNS settings, confirm the correct hosting account, and check the document root. Make sure the WordPress files are located in the directory served by your domain.

3. The website shows a database connection error

Possible causes: Incorrect database credentials, missing database privileges, an incorrect database hostname, or a database service problem.

What to do: Review the database name, username, password, and host. Confirm that the user is assigned to the correct database with the required privileges. If the details are correct, ask your hosting provider to check database availability.

4. The website shows a 403 Forbidden error

Possible causes: Incorrect file permissions, restrictive security rules, a misconfigured document root, or a server rule that blocks access.

What to do: Confirm that the domain points to the correct directory and that files have appropriate permissions. Avoid broad permission changes or disabling security controls without understanding the cause. Ask your host to inspect server logs if the problem continues.

5. The website shows a 404 Not Found error

Possible causes: WordPress was installed in a different directory, the URL is incorrect, or rewrite rules are not configured properly.

What to do: Confirm the installation path and open the correct URL. If the homepage works but WordPress post URLs return 404 errors, review the permalink settings and rewrite configuration.

6. The website shows a 500 Internal Server Error

Possible causes: A PHP error, incompatible plugin or theme, incorrect server configuration, or a problem with .htaccess.

What to do: Check the available error logs in cPanel. If the error began after a change, investigate that change first. Do not delete configuration files without keeping a backup. Contact your hosting provider if you cannot identify the cause.

7. HTTPS shows a certificate warning

Possible causes: The certificate is missing, expired, does not cover the domain, or has not been configured correctly.

What to do: Check the certificate status through your hosting provider or the SSL tools available in cPanel. Confirm that the certificate covers the exact domain you are visiting. Fix certificate issues before forcing all visitors to use HTTPS.

8. The website displays a blank page

Possible causes: A PHP fatal error, incompatible plugin or theme, or a server-resource problem.

What to do: Check the available PHP and server error logs. If the issue started after installing a plugin or theme, investigate that component. Avoid displaying detailed error messages publicly on a live website because they may expose sensitive information.

9. WordPress files appear in the wrong folder

Possible cause: The ZIP archive was extracted into a nested directory.

What to do: Open File Manager and inspect the folder structure. If WordPress should run from the domain root, ensure its main files are in the correct document root. Back up existing files before moving or replacing anything.

10. You cannot log in to WordPress

Possible causes: An incorrect username or password, a password-reset email problem, or a plugin or configuration issue.

What to do: Double-check the login URL and credentials. Use the password-reset option if email delivery is working. If recovery fails, consult your hosting provider before making database changes.

Frequently Asked Questions

Can I install WordPress on cPanel without coding?

Yes. If your hosting account provides WP Toolkit or another automatic installer, you can generally install WordPress through a graphical interface without writing code. Manual installation requires more technical steps but does not normally require you to write application code.

Is WordPress free to install?

The WordPress software is free to download and use. However, you may need to pay for a domain name, web hosting, premium themes, premium plugins, or other optional services.

Can I install WordPress without a domain name?

You need an appropriate way to access the installation. For a public website, a registered and correctly configured domain is the usual choice. Some hosting environments also allow temporary URLs or development environments, but availability depends on the provider.

How long does WordPress installation take?

An automatic installation may take only a few minutes when the domain and hosting account are ready. Manual installation may take longer because you need to upload files, create a database, assign privileges, and configure the installation.

Why can’t I find WP Toolkit in cPanel?

Your hosting provider may have disabled the interface or may not offer it for your account. Check the available tools or ask your provider which WordPress installation options are supported.

Should I install WordPress in the root directory or a subdirectory?

Install WordPress in the domain’s document root if you want it to run directly at example.com. Use a subdirectory if you intentionally want the website to appear at a path such as example.com/blog. Make sure the installation path matches your intended URL.

Do I need SSL before installing WordPress?

Not necessarily. You can sometimes install WordPress before the certificate is ready, but for a public website, it is best to configure a valid certificate and HTTPS as part of the initial setup. If you configure WordPress to use HTTPS before the certificate works, visitors may encounter security warnings or connection errors.

Will installing WordPress automatically make my website SEO-friendly?

No. WordPress provides tools for creating and managing content, but effective SEO also requires useful content, descriptive titles, a logical site structure, accessible pages, appropriate internal links, good performance, and correct indexing settings.

Can I install more than one WordPress website on the same hosting account?

This depends on your hosting plan, available resources, and domain configuration. If your plan supports multiple websites, you can generally set up separate installations in the appropriate document roots. Avoid placing multiple WordPress installations in the same document root because their files and rewrite rules can conflict.

What should I do immediately after installing WordPress?

Confirm that the website works over HTTPS, secure the administrator account, configure permalinks, choose a suitable theme, install only necessary plugins, set up backups, remove unwanted sample content, and check the search-engine visibility setting.

Final Thoughts

Installing WordPress on cPanel is straightforward when your domain, hosting account, and installation directory are configured correctly. WP Toolkit or another automatic installer is usually the simplest option when available. Manual installation provides an alternative when your hosting account does not include an installer.

After installation, take time to configure HTTPS, review essential WordPress settings, secure your administrator account, set up backups, and test your website before publishing it.

If you still need a domain, explore FoxNett’s domain registration service. If you need a hosting account for your website, review FoxNett’s cPanel web hosting plans. For a WordPress-focused environment with one-click installation and additional management features, explore FoxNett’s managed WordPress hosting.

Choose a solution that matches your website’s needs, confirm which installation tools are available, and follow the steps in this guide to prepare your website for visitors.