Guide To host WordPress website on cPanel/WHM

So, you want to host WordPress website using cPanel/WHM? Cool,

Step 1: You must take the following general actions:

You must register for a cPanel account on the domain where you wish to install WordPress in order to host it.

  • You are in charge of hosting accounts in WHM.
  • In WHM, create a cPanel account
To use cPanel/WHM to host a WordPress website.
  • Open your browser and navigate to https://your-server-ip:2087.
Guide To host WordPress website on cPanel/WHM - Step 1

Step 2: Enter the following information:

  • Enter the domain name, such as example.com.
  • Username: The cPanel account’s username, such as example_user.
  • Select a strong password for your cPanel account.
  • Email: Give the account’s contact email.
  • Package: Choose a package (you can choose a pre-defined set of resources for the account, although this is optional).
  • Hit Create
Guide To host WordPress website on cPanel/WHM - Step 2
  • Account Creation Status & you get Account details.
  • After creating an account, go to https://example.com:2083 to access your cPanel account.
  • Enter your login information, and select Log in.
  • You are logged in; it will look like this.
Host WordPress website

Step 3 : Set up WordPress

Now that cPanel is set up, let’s get host WordPress website on that domain.

  1. You can now install WordPress on the domain after creating the cPanel account. First, select WordPress Management.
  2. After being sent to the Installation screen, select Install WordPress.
Guide To host WordPress website on cPanel/WHM - Step 3

4 Adjust the parameters as follows:

  • Administrator Username: Select a safe administrator username.
  • Admin Password: Pick a strong one.
  • Admin Email: Enter the admin email.
  • Select Install.

5 Let it Finish the installation process.

Guide To host WordPress website on cPanel/WHM - Step 4

Step 3: Configure WordPress’ MySQL Database

WordPress requires a MySQL database to store its content. Follow these steps to create a database:

1. Navigate to phpMyAdmin
2. Locate the Databases area in cPanel and select PHP my admin

Guide To host WordPress website on cPanel/WHM - Step 5

3. Select the Existing Database:

  • Click on the database name containing the old tables in the left sidebar. The right panel will display a list of tables.
Guide To host WordPress website on cPanel/WHM - Step 6
  • Remove (Drop) Previous Tables
  • Select Check All (located beneath the table list).
  • Select Drop from the With selected: dropdown menu.
  • Click “Yes” to confirm that all tables will be deleted.

4. Put the updated MySQL database online:

Guide To host WordPress website on cPanel/WHM - Step 7

5. Verify the Upload:

After the import is finished, make sure that every table has been imported successfully.

Step 4: Upload The Backup files to File Manager Now that WordPress is installed and the database is restored
  • the next step is to upload your Themes, Plugins, and Uploads folders to the accurate locations in cPanel.In cPanel, open File Manager.
Guide To host WordPress website on cPanel/WHM - Step 8
  • Open the public_html directory (this is where WordPress is installed).
  • Open the wp-content folder, where you will upload:
Guide To host WordPress website on cPanel/WHM - Step 9
  • Themes (For WordPress themes)
  • Plugins (For WordPress plugins)
  • Uploads (For media files like images, PDFs, videos)
Guide To host WordPress website on cPanel/WHM - Step 10
  • Then go to wp-content and extract the zip files.
Guide To host WordPress website on cPanel/WHM - Step 11

Conclusion

Installing WordPress on your cPanel account using WHM gives you full control. First, you make a cPanel account through WHM. Next, you upload and unpack the WordPress files. Finally, you wrap up the installation on the web. And boom, you’ve got WordPress running on your server.