BENTECH

Mastering Manual WordPress Deployment via cPanel

Master the complete workflow of manually deploying a WordPress content management system on any cPanel-powered web hosting environment without reliance on one-click installers.

This course breaks down the end-to-end process of installing WordPress manually. Students learn how to retrieve official core software, manage server directories using cPanel File Manager, configure MySQL databases and users with hardened security privileges, and complete the famous 5-minute WordPress web configuration wizard.

Section 1: Server File Preparation & Management

Acquire official WordPress software and properly structure the hosting filesystem.

Lesson 1.1: Downloading WordPress Core and Exploring cPanel File Manager

  • 5-step deployment overview
  • Downloading WordPress from wordpress.org
  • Accessing cPanel and navigating public_html

Manual WordPress installation begins by obtaining clean, unaltered core files directly from wordpress.org. Using one-click installers can sometimes bundle unwanted scripts or bloatware, making manual installation the industry standard for full administrative control. Once downloaded to your local environment, you log into cPanel and launch the File Manager. The 'public_html' folder represents the web-accessible root directory. When hosting multiple domains or a subdomain, each site is assigned its own dedicated folder within public_html. Ensuring you upload to the exact target directory is critical to avoid overwriting existing websites.

Practical work

  1. Visit wordpress.org and download the latest WordPress zip archive.
  2. Log into your cPanel account and open File Manager.
  3. Identify the root folder for your primary domain or target subdomain.

Lesson 1.2: Uploading, Extracting, and File Reorganization

  • Uploading zip archive via File Manager
  • Server-side archive extraction
  • Moving files to document root
  • Post-installation cleanup

After locating the website directory in File Manager, click the 'Upload' button and upload the downloaded WordPress zip archive. Once the progress indicator turns green and displays 100%, return to the File Manager directory listing. Extracting the zip archive on the server creates a folder called 'wordpress'. Leaving the files inside this subdirectory would force visitors to access your website at 'yourdomain.com/wordpress'. To make the site accessible directly at your main URL, navigate into the extracted folder, select all files and directories, and use the 'Move' command to send them into the root directory path. Finally, delete the empty 'wordpress' directory and the original .zip archive. Retaining unused archives consumes server quota and exposes obsolete archive versions to potential security risks.

Practical work

  1. Upload the WordPress zip file into your target directory.
  2. Right-click and extract the zip archive directly on the server.
  3. Select all extracted items, move them to the parent root folder, and verify the path.
  4. Delete the empty wordpress folder and the uploaded .zip archive.

Section 2: Database Architecture & Privileges

Configure a secure MySQL database and associate an authenticated database user.

Lesson 2.1: Creating a MySQL Database and Database User

  • Creating a new MySQL database in cPanel
  • Understanding cPanel account prefixes
  • Generating strong user passwords
  • Creating the database user

WordPress is a dynamic CMS powered by PHP and MySQL. It stores all pages, posts, settings, and user profiles inside a relational database. In cPanel, navigate to the 'Databases' section and click 'MySQL Databases'. When creating a database, cPanel automatically appends your hosting account username as a prefix (for example, `bentechs_` + your chosen name). Choose an unpredictable suffix to prevent automated scanning attacks. Immediately record the full database name in an external notepad document. Next, scroll to the 'MySQL Users' section. Create a new user with an appropriate username suffix. Utilize cPanel's built-in Password Generator to create a complex password with 100% strength. Copy and store this password securely before confirming user creation.

Practical work

  1. Open the MySQL Databases tool in cPanel.
  2. Create a database with a short, secure suffix and record the full name.
  3. Create a database user using the Password Generator and record the credentials in a secure text file.

Lesson 2.2: Associating User to Database with Hardened Privileges

  • Binding MySQL users to specific databases
  • Managing user privileges
  • Security hardening by omitting the DROP privilege

Creating a database and a user independently does not grant access; you must explicitly link the user to the database. In the 'Add User To Database' section, choose the user and database you just created from the dropdown menus and click 'Add'. On the 'Manage User Privileges' screen, select 'ALL PRIVILEGES'. For enhanced security, deselect the 'DROP' privilege as taught in the video lesson. The DROP command deletes entire database tables and structures. Click 'Make Changes'. A confirmation banner will verify that the user privileges have been saved to the database. Your database backend is now fully prepared to receive WordPress tables.

Practical work

  1. Select your new user and database under 'Add User To Database' and click Add.
  2. Enable All Privileges, then manually uncheck the DROP privilege checkbox.
  3. Click 'Make Changes' and confirm the green success notice appears.

Section 3: Web Installer Execution & Site Launch

Run the WordPress installation wizard and establish administrative credentials.

Lesson 3.1: Running the 5-Minute WordPress Installation Script

  • Accessing the setup wizard via browser
  • Language selection
  • Database connection configuration
  • Configuring administrative credentials and site launch

With the core files placed in your website root and the database configured, navigate to your domain or subdomain URL in any web browser. WordPress will automatically detect the unconfigured installation and display the setup wizard. Select your administrative language and click 'Continue'. On the database information screen, click 'Let's go!' and enter the recorded Database Name, Username, and Password. Keep Database Host as 'localhost' and the Table Prefix as 'wp_' (unless custom environments dictate otherwise). Click 'Submit'. If WordPress communicates successfully with MySQL, click 'Run the installation'. On the final screen, specify your Site Title, an administrative username (avoiding generic defaults like 'admin' for security; in the video, 'BTAdmin' is used), a strong administrative password, and a recovery email address. Decide whether to toggle search engine visibility. Click 'Install WordPress' and log in to verify access to the WordPress admin dashboard.

Practical work

  1. Visit your domain in a web browser and select your installation language.
  2. Submit your MySQL database name, database username, and generated password.
  3. Run the installer and complete the Site Title, Admin Username, Admin Password, and Email fields.
  4. Log into the WordPress administrative dashboard at /wp-login.php.