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.comandns2.iwebvault.com, with DNS propagation complete. - DirectAdmin access. URL in welcome email, typically
https://[server-hostname]:2222.
Method 1 — Installatron (recommended)
- Log into DirectAdmin. Find Extra Features → Installatron Applications Installer.
- Find WordPress in the application list. Click Install this application.
- Location:
- Domain: select your domain from the dropdown.
- Directory: leave blank if you want WordPress at the root (
yourdomain.com). Set toblogforyourdomain.com/blog. - Protocol: select
https://(NOThttp://— critical, as starting on http causes SSL configuration headaches later).
- Version: latest version, default.
- 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.
- Administrator Username: not
- Advanced Options (expand it):
- Database Table Prefix: change from
wp_toiwv_or similar custom value. One-time security improvement worth doing now.
- Database Table Prefix: change from
- 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
- In DirectAdmin, go to Account Manager → MySQL Management.
- Click Create new Database.
- Enter a database name (DirectAdmin will prefix it with your account name, e.g.
daUser_wpsite). - Enter a database username and a strong password. Repeat the password.
- 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
- Download the latest WordPress from wordpress.org/download.
- In DirectAdmin, open File Manager and navigate to
domains/yourdomain.com/public_html/. - Click Upload and upload the WordPress zip.
- Right-click the uploaded zip → Extract.
- The extraction creates a
wordpress/folder. Open it, select all files (Ctrl+A), and use Move to move them up one level intopublic_html/. Delete the now-emptywordpress/folder and the zip.
2.3 Run the WordPress installer
- Visit your domain in a browser. WordPress detects the fresh install and starts its 5-minute setup.
- Select language → Continue.
- 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_toiwv_
- Database Name: the full name (e.g.
- Submit → Run the installation.
- 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
- 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.
- Install a security plugin. Wordfence (free) or Solid Security are the standard choices. They include 2FA, login limiting, malware scanning.
- 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.
- Remove default content. Delete “Hello world!” post, sample page, and any default themes (Twenty Twenty-Three, etc.) that you’re not using.
- 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
- Brand new to DirectAdmin? Start with getting started with DirectAdmin.
- Sending email from WordPress? Read the deliverability guide before your first campaign.
- Securing your install? The full hardening checklist.
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?
Thanks for your feedback!