A Step-by-Step Guide to Setting Up WordPress Manually in VPS/Shared hosting

Installing WordPress manually on a VPS hosting using a file manager involves a few key steps. This method is useful if you don’t have access to Softaculous or other auto-installers and prefer to do it manually. Here’s a step-by-step guide:

1. Prepare Your VPS

  1. Access Your VPS Control Panel: Log in to your VPS control panel (e.g., cPanel, Plesk) using the URL provided by your hosting provider.
  2. Set Up Your Domain: Ensure that your domain is pointed to your VPS. This usually involves updating DNS settings with your domain registrar.

2. Download WordPress

  1. Download WordPress: Go to the official WordPress website and download the latest version of WordPress as a .zip file.Upload WordPress to Your VPS:
wordpress-12 A Step-by-Step Guide to Setting Up WordPress Manually in VPS/Shared hosting

Step 2 – Upload WordPress to VPS.

  1. Open File Manager: In your VPS control panel, navigate to the File Manager.
  2. Navigate to the Web Root Directory: Typically, this is public_html or a similar directory where your domain points.
  3. Upload the WordPress .zip File: Use the upload feature to upload the WordPress .zip file to the web root directory.
image-1024x389 A Step-by-Step Guide to Setting Up WordPress Manually in VPS/Shared hosting

Now, proceed to the public_html directory and click on the same.

wordpress-14 A Step-by-Step Guide to Setting Up WordPress Manually in VPS/Shared hosting

3. Extract WordPress Files

  1. Extract the Archive:
    • Locate the .zip File: Find the uploaded WordPress .zip file in your File Manager.
    • Extract: Use the extract feature in your File Manager to unzip the WordPress files. This will create a folder named wordpress.
extraxt-wordpress-file A Step-by-Step Guide to Setting Up WordPress Manually in VPS/Shared hosting

Move WordPress Files:

  • Move Files: If you want WordPress installed in the root directory, move all files from the wordpress folder to the root directory. If you want WordPress in a subdirectory, move the files to the desired subdirectory.

Delete the .zip File: After extraction and moving files, delete the original .zip file to keep things tidy.

image-2-1024x386 A Step-by-Step Guide to Setting Up WordPress Manually in VPS/Shared hosting

4. Create a MySQL Database

Navigate to MySQL Databases:

  • In the cPanel dashboard, locate the Databases section.
  • Click on MySQL Databases.

Create a New Database:

  • Under the Create New Database section, enter a name for your database (e.g., wordpress_db).
  • Click Create Database.
image-3-1024x391 A Step-by-Step Guide to Setting Up WordPress Manually in VPS/Shared hosting

Create a Database User:

  • Scroll down to the MySQL Users section.
  • Enter a username and password for the new user (e.g., wordpress_user and your_password).
  • Click Create User.
image-4-1024x508 A Step-by-Step Guide to Setting Up WordPress Manually in VPS/Shared hosting

Add User to Database:

  • Go back to the MySQL Databases section.
  • Under Add User to Database, select the user and database you created.
  • Click Add.
  • On the next screen, select All Privileges to grant the necessary permissions, then click Make Changes.
image-6-1024x738 A Step-by-Step Guide to Setting Up WordPress Manually in VPS/Shared hosting

Step 5 – Edit the wp-config-sample.php

  • Access the public_html directory and
  • select the wp-config-sample.php file.
  • Now, right-click on the file and choose the edit option.
image-7 A Step-by-Step Guide to Setting Up WordPress Manually in VPS/Shared hosting
Enter Database Information:
  • On the database configuration screen, enter the following details:
    • Database Name: The name you created (e.g., wordpress_db).
    • Username: The database user you created (e.g., wordpress_user).
    • Password: The password for the database user.
    • Database Host: Typically localhost.

Run the Installation:

  • Click Run the Installation.
  • On the next screen, provide the following information for your WordPress site:
    • Site Title: The name of your website.
    • Username: This is the admin username you will use to log in to WordPress.
    • Password: Choose a strong password.
    • Your Email Address: For notifications and password recovery.
  • Click Install WordPress.
Log In to WordPress:
  • After the installation completes, you will see a success message.
  • Click Log In.
  • Enter the admin username and password you created to access the WordPress dashboard.

Using a control panel like cPanel simplifies the installation and management of WordPress on your VPS Hosting, avoiding the need for command-line interactions. If you use a different control panel like Plesk or DirectAdmin, the steps will be similar, with some variations in the interface and terminology.

You might also like