Step 1: Create a Subdomain via the Domains Section

  1. Log in to your cPanel account.
  2. Go to the Domains section and click on Domains.
  3. Click the button Create a New Domain.
  4. In the domain name field, enter the full subdomain address:
    Example: handyman.sitetechlabs.com
  5. Ensure the Document Root is set correctly (it will usually auto-fill as public_html/handyman). You can keep it as is.
  6. Click Create (or Add) to create the subdomain.

A new folder for the subdomain will be created automatically in your file structure.

Step 2: Create Database and User Using Database Wizard

  1. In cPanel, go to the Databases section.
  2. Click on Database Wizard.
  3. Step 1 – Create Database:
    • Enter a database name (e.g., handyman_db).
    • Click Next Step.
  4. Step 2 – Create User:
    • Enter a username (e.g., handyman_user).
    • Generate or enter a strong password.
    • Important: Save the database name, username, and password in a text editor (like Notepad) for later use.
    • Click Next Step.
  5. Step 3 – Assign Permissions:
    • Select ALL PRIVILEGES for the user.
    • Click Next Step to complete the setup.

You now have a ready database and user for WordPress.

Step 3: Download WordPress and Upload via File Manager

  1. Download the latest WordPress package from https://wordpress.org/download/.
  2. In cPanel, open File Manager.
  3. Navigate to the subdomain folder (e.g., public_html/handyman).
  4. Click Upload and upload the WordPress .zip archive you downloaded.

Step 4: Extract the ZIP Archive and Move Files

  1. In File Manager, select the uploaded WordPress .zip file.
  2. Click Extract.
  3. Confirm extraction to the current folder (public_html/handyman).
  4. After extraction, ensure all WordPress files (like wp-config.php, wp-admin, wp-content, wp-includes) are directly inside the handyman folder.
  5. If there’s an extra folder (e.g., wordpress/), move all its contents into public_html/handyman and delete the empty folder.

Step 5: Install WordPress

  1. Open your browser and go to:
    https://handyman.sitetechlabs.com
  2. You’ll see the WordPress setup screen.
  3. Enter your database details:
    • Database Name: the name you created (e.g., handyman_db)
    • Username: the database user (e.g., handyman_user)
    • Password: the password you saved
    • Database Host: localhost
    • Table Prefix: keep wp_
  4. Click Run the installation.
  5. Fill in:
    • Site Title
    • Username and Password for WordPress admin
    • Your Email Address
  6. Click Install WordPress.

Your WordPress site is now installed on the subdomain.

Accessing Your WordPress Admin Console

To log in to your WordPress dashboard, visit:
https://handyman.sitetechlabs.com/wp-login.php

Enter your WordPress admin username and password to access the console.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *