DirectAdmin Hosting

Installing WordPress in DirectAdmin

Two ways to install WordPress on iWebVault DirectAdmin hosting — Installatron one-click and manual install — with post-install hardening for both.

4 min read

Installing WordPress on DirectAdmin works almost identically to cPanel, with two different tools: Installatron (the one-click installer) and the manual route via File Manager and MySQL Management. This guide covers both, with the post-install hardening that makes the difference between a default install and a production-ready site.

Which method?

Same logic as cPanel: Installatron for 95% of customers (faster, fewer chances to typo), manual when you want explicit control over the database name, table prefix, or specific WordPress version.

Prerequisites

  • Domain pointed to iWebVault. Your nameservers should be ns1.iwebvault.com and ns2.iwebvault.com, with DNS propagation complete.
  • DirectAdmin access. URL in welcome email, typically https://[server-hostname]:2222.
  1. Log into DirectAdmin. Find Extra Features → Installatron Applications Installer.
  2. Find WordPress in the application list. Click Install this application.
  3. Location:
    • Domain: select your domain from the dropdown.
    • Directory: leave blank if you want WordPress at the root (yourdomain.com). Set to blog for yourdomain.com/blog.
    • Protocol: select https:// (NOT http:// — critical, as starting on http causes SSL configuration headaches later).
  4. Version: latest version, default.
  5. Settings:
    • Administrator Username: not admin. Pick something unique.
    • Administrator Password: 16+ characters from your password manager.
    • Administrator Email: a real address you check.
    • Site Title and Tagline: your real site name; can be changed later.
  6. Advanced Options (expand it):
    • Database Table Prefix: change from wp_ to iwv_ or similar custom value. One-time security improvement worth doing now.
  7. Click Install. Wait 30 seconds. You’ll get a success page with your site URL and admin dashboard URL.

WordPress is installed. Skip down to post-install hardening.

Method 2 — Manual installation

2.1 Create a database

  1. In DirectAdmin, go to Account Manager → MySQL Management.
  2. Click Create new Database.
  3. Enter a database name (DirectAdmin will prefix it with your account name, e.g. daUser_wpsite).
  4. Enter a database username and a strong password. Repeat the password.
  5. Click Create.

Save the full database name, username, and password to your password manager. You’ll need all three in step 2.3.

2.2 Upload WordPress

  1. Download the latest WordPress from wordpress.org/download.
  2. In DirectAdmin, open File Manager and navigate to domains/yourdomain.com/public_html/.
  3. Click Upload and upload the WordPress zip.
  4. Right-click the uploaded zip → Extract.
  5. The extraction creates a wordpress/ folder. Open it, select all files (Ctrl+A), and use Move to move them up one level into public_html/. Delete the now-empty wordpress/ folder and the zip.

2.3 Run the WordPress installer

  1. Visit your domain in a browser. WordPress detects the fresh install and starts its 5-minute setup.
  2. Select language → Continue.
  3. Database connection page:
    • Database Name: the full name (e.g. daUser_wpsite)
    • Username: the database username
    • Password: the database password
    • Database Host: localhost
    • Table Prefix: change from wp_ to iwv_
  4. Submit → Run the installation.
  5. Set admin username (NOT admin), strong password, site title, admin email. Click Install WordPress.

Done. WordPress is running. Now make it production-ready.

Post-install hardening

  1. Force HTTPS. DirectAdmin → Account Manager → SSL Certificates. Verify Let’s Encrypt is active and set to auto-renew. In WordPress, install Really Simple SSL (free plugin) to force HTTPS site-wide.
  2. Install a security plugin. Wordfence (free) or Solid Security are the standard choices. They include 2FA, login limiting, malware scanning.
  3. Configure backups. DirectAdmin’s built-in Backups (Account Manager → Backups) handles full-account backups. Pair with WordPress UpdraftPlus for app-level backups to off-server storage.
  4. Remove default content. Delete “Hello world!” post, sample page, and any default themes (Twenty Twenty-Three, etc.) that you’re not using.
  5. Enable two-factor authentication. Built into Wordfence and Solid Security. Set it up on the admin user immediately.

For the full WordPress security walkthrough, see Hardening your WordPress site on iWebVault — 15 specific steps from file permissions to xmlrpc disabling.

Common installation issues

“Error establishing a database connection”. Database credentials in wp-config.php don’t match. Edit the file via File Manager — verify the database name (with prefix), username, password, and that host is localhost.

White screen of death. PHP version or memory limit. DirectAdmin → Extra Features → PHP Version Selector → set PHP to 8.2 or 8.3, memory limit to 256M.

SSL warning after install. If site was installed under http:// but SSL is now active, update WordPress Site URL: WordPress Admin → Settings → General → change both URLs to start with https://.

“Briefly unavailable for scheduled maintenance”. An interrupted update. Use File Manager to find and delete the .maintenance file in your public_html.

What’s next

WordPress on DirectAdmin runs identically to WordPress on cPanel — your site doesn’t know or care which panel the host uses. The differences are purely in how you administer hosting, not in how WordPress behaves.

Was this helpful?