DEV Community

Everything Blogging
Everything Blogging

Posted on

How to Install WordPress in cPanel Manually?

WordPress is an incredibly popular platform for creating websites and blogs. While many web hosting providers offer one-click installations, manually installing WordPress in cPanel gives you more control and understanding of the process.

In this comprehensive guide, we'll walk you through each step, ensuring you have a deep understanding of the process.

Prerequisites

Before we dive into the installation process, let's make sure you have everything you need:

  • Web Hosting: You should have access to a web hosting account with cPanel.
  • cPanel Login: Your cPanel username and password.
  • Domain Name: A registered domain name where you want to install WordPress.
  • FTP Client: An FTP client like FileZilla for transferring files.
  • Text Editor: A basic text editor (e.g., Notepad, TextEdit) for editing configuration files.

Now that you have everything ready, let's proceed to the installation.

Read-> How to Change Domain Name in WordPress? Simple Ways

Step 1: Download WordPress

  1. Open your web browser and navigate to the official WordPress website at wordpress.org.
  2. On the homepage, you'll find a prominent "Get WordPress" button. Click on it to start the download.

This will download a zip file containing the WordPress installation files to your computer.

Step 2: Upload WordPress to cPanel

Now that you have the WordPress files, it's time to upload them to your web server:

  1. Launch your FTP client (e.g., FileZilla) and connect to your web hosting account using your cPanel username and password.
  2. Navigate to the directory where your website's files are stored. This is often named "public_html" or "www."
  3. Upload the WordPress zip file to this directory.
  4. Once uploaded, right-click on the zip file and select "Extract" to unzip its contents.

Step 3: Create a MySQL Database

WordPress relies on a database to store your content and settings. Let's create one:

  1. Return to your cPanel dashboard.
  2. Look for the "MySQL Database Wizard" and click on it.
  3. Create a new database by giving it a name.
  4. Create a new user and assign a secure password.
  5. Add the user to the database, granting them "All Privileges."

Your database is now ready to be used by WordPress.

Step 4: Configure WordPress

Now, we need to configure WordPress to connect to the database:

  1. Open your web browser and visit your website's address (e.g., http://www.mywebsite.com).
  2. Select your preferred language.
  3. WordPress will prompt you for your database information:
    • Database Name: The name you assigned to your database.
    • Username: The username you created for the database.
    • Password: The password for the database user.
    • Database Host: Typically, this is 'localhost.'
  4. Click the "Submit" button.

Step 5: Run the WordPress Installation

WordPress will verify your information and set up the necessary files:

  1. Click the "Run the installation" button.

Step 6: Complete the WordPress Setup

Now, it's time to configure your website:

  1. Provide a title for your website.
  2. Choose a username and a strong password for your WordPress admin account.
  3. Enter your email address.
  4. Decide whether you want search engines to index your site.
  5. Click the "Install WordPress" button.

Congratulations! You've successfully installed WordPress manually on your website. You can now log in to your WordPress dashboard and start building your website or blog.

Visit-> Everything Blogging

Conclusion

Installing WordPress manually in cPanel might seem like a complex process, but it's a valuable skill to have as it provides you with greater control over your website. With this comprehensive guide, you now have a thorough understanding of how to install WordPress manually. Don't hesitate to experiment and explore further to enhance your WordPress experience. Best of luck with your website-building journey!

Top comments (0)