Follow these instructions to get your AreaWP platform up and running. If you experience any issues, don’t hesitate to contact our support team. Professional installation service is available for an additional fee.
Installation Overview
The installation process consists of 4 main phases:1
Download AreaWP
Download the latest version from your account
2
Configure DirectAdmin
Set up reseller account, packages, and permissions
3
Upload & Extract Files
Upload source code to your server
4
Run Web Installer
Complete installation via browser
Step 1: Download AreaWP
Access Your Account
-
Log in to your AreaWP account at:
- Navigate to Downloads section or Download Manager
-
Download the latest version:
- File name:
areawp-vX.X.X.zip - Size: Approximately 50-100 MB
- Format: ZIP archive
- File name:
Verify Download
After downloading, verify the file integrity:Step 2: Configure DirectAdmin
This is the most critical step. DirectAdmin must be properly configured for AreaWP to function.2.1 Create Reseller Package
Create Reseller Package
Create Reseller Package
Define Resource Limits for Reseller
- Log in to DirectAdmin as admin
- Navigate to Account Manager → Manage Reseller Packages
- Click Add Package
| Setting | Recommended Value | Description |
|---|---|---|
| Package Name | awp (3 chars) | Must be exactly 3 characters |
| Bandwidth | unlimited | Or set specific limit |
| Disk Space | unlimited | Or set specific limit |
| Domains | unlimited | For client websites |
| Subdomains | unlimited | For staging/dev sites |
| Email Accounts | unlimited | For client emails |
| Databases | unlimited | For WordPress sites |
| FTP Accounts | unlimited | For file management |
| SSL Certificates | Enabled | Required for HTTPS |
| PHP Version | 8.3 | Required version |
2.2 Create Reseller User
Create Reseller Account
Create Reseller Account
Set Up Reseller User Account
Important Settings:
- In DirectAdmin admin panel, go to Account Manager → Create Reseller
- Fill in the reseller details:
| Field | Value | Notes |
|---|---|---|
| Username | awp (3 chars) | Must be exactly 3 characters |
| Your admin email | For notifications | |
| Password | Strong password | Save this securely |
| Domain | Your main domain | e.g., youragency.com |
| Package | Select awp package | Created in previous step |
| IP Address | Server IP | Shared or dedicated |
- ☑ Create System Account
- ☑ Send Email with Account Info
- ☑ Use Package Settings
- Click Create to create the reseller account
2.3 Create User Package
Create User Package (for Clients)
Create User Package (for Clients)
Define Package for Client Accounts
- Log out from admin panel
- Log in to DirectAdmin as the reseller user (
awp) - Navigate to Account Manager → Manage User Packages
- Click Add Package
| Setting | Recommended Value |
|---|---|
| Package Name | std (3 chars) |
| Bandwidth | 10 GB or unlimited |
| Disk Space | 5 GB or unlimited |
| Domains | 1 (one domain per user) |
| Subdomains | 10 |
| Email Accounts | 10 |
| Databases | 5 |
| FTP Accounts | 5 |
| SSL | Enabled |
Package Purpose: This package will be assigned to each client’s hosting account created through AreaWP. You can create multiple packages for different tiers (Basic, Pro, Enterprise).
2.4 Configure SSL Certificate
Set Up Wildcard SSL with Cloudflare
Set Up Wildcard SSL with Cloudflare
Enable HTTPS for All SubdomainsAreaWP creates client sites as subdomains, so a wildcard SSL certificate is highly recommended. This guide shows how to set up a free Let’s Encrypt wildcard certificate using Cloudflare DNS.
Step 1: Generate Cloudflare API CredentialsFirst, you need to create API credentials in Cloudflare:
Step 2: Configure SSL in DirectAdminNow set up the wildcard SSL certificate in DirectAdmin:
Step 3: Verify SSL InstallationTest in Browser:
Auto-Renewal ConfigurationLet’s Encrypt certificates expire after 90 days. DirectAdmin handles auto-renewal automatically:
Why Wildcard SSL? A wildcard certificate (*.yourdomain.com) automatically secures all subdomains including client1.yourdomain.com, client2.yourdomain.com, etc., without needing individual certificates.
Step 1: Generate Cloudflare API CredentialsFirst, you need to create API credentials in Cloudflare:
- Log in to your Cloudflare Dashboard
- Ensure your domain is added to Cloudflare and DNS is active
- Click on your Profile Icon (top right) → My Profile
- Navigate to API Tokens tab
- Click Create Token
- Use the “Edit zone DNS” template or create custom token
- Set the following permissions:
- Permissions:
- Zone → DNS → Edit
- Zone → Zone → Read
- Zone Resources:
- Include → Specific zone → Select your domain
- Permissions:
- Click Continue to summary
- Review and click Create Token
- Copy and save the API Token - you’ll need it in DirectAdmin
- In Cloudflare Dashboard, go to My Profile → API Tokens
- Scroll down to API Keys section
- Click View next to “Global API Key”
- Enter your Cloudflare password to reveal the key
- Copy and save both:
- Your Cloudflare account email
- The Global API Key
Step 2: Configure SSL in DirectAdminNow set up the wildcard SSL certificate in DirectAdmin:
- Log in to DirectAdmin as reseller user (
awp) - Navigate to Account Manager → SSL Certificates
- Click Get automatic certificate from ACME Provider
-
Select Certificate Type:
- Choose “Wildcard” (covers *.yourdomain.com)
-
DNS Provider Settings:
- DNS Provider: Select “Cloudflare” from dropdown
-
Enter Cloudflare Credentials:
Option A - Using API Token (Recommended):
- API Token: Paste the token you created in Step 1
- Leave API Key and Email fields empty
- API Key: Paste your Global API Key
- Email: Enter your Cloudflare account email
- Leave API Token field empty
-
Domain Configuration:
- Domain: Enter your domain (e.g.,
yourdomain.com) - The certificate will cover both
yourdomain.comand*.yourdomain.com
- Domain: Enter your domain (e.g.,
- Click Request Certificate
-
DirectAdmin will:
- Contact Let’s Encrypt ACME server
- Create a DNS TXT record in Cloudflare automatically
- Verify domain ownership
- Issue the wildcard SSL certificate
- Install the certificate automatically
- Wait for completion (usually 1-2 minutes)
- You should see a success message confirming the certificate installation
Step 3: Verify SSL InstallationTest in Browser:
- Visit
https://yourdomain.com - Click the padlock icon
- View certificate details
- Confirm it shows
*.yourdomain.comin Subject Alternative Names
Auto-Renewal ConfigurationLet’s Encrypt certificates expire after 90 days. DirectAdmin handles auto-renewal automatically:
- Certificates are checked daily
- Auto-renewal starts 30 days before expiration
- Cloudflare API credentials are stored securely
- No manual intervention required
2.5 Create DirectAdmin Login Keys
Generate API Login Keys
Generate API Login Keys
Enable Secure API AccessAreaWP uses DirectAdmin Login Keys for secure API authentication.Create Login Key:
- Log in to DirectAdmin as reseller user (
awp) - Navigate to: Account Manager → Login Keys
- Or visit directly:
- Click Create Login Key
| Setting | Value |
|---|---|
| Key Name | areawp-api |
| Expiration | Never or 10 years |
| Allowed IPs | 127.0.0.1 (localhost) |
| Permissions | Full Access |
- Click Create
- Save the generated key - you’ll need it during installation
2.6 Configure Sudo Permissions
Grant Sudo Access
Grant Sudo Access
Allow AreaWP to Execute System CommandsAreaWP needs sudo permissions to manage WordPress files and execute server commands.Edit Sudoers File:
-
Connect to your server via SSH as root:
-
Edit the sudoers file:
-
Add the following line at the end of the file:
Replace
awpwith your actual reseller username if different. -
Save and exit:
- Press
Ctrl + X - Press
Yto confirm - Press
Enterto save
- Press
-
Verify the configuration:
Step 3: Upload & Extract Files
3.1 Upload Source Code
- Via DirectAdmin File Manager
- Via FTP/SFTP
- Via SSH (Recommended)
Upload Through Web Interface
- Log in to DirectAdmin as reseller user (
awp) - Navigate to File Manager
- Go to
public_htmldirectory - Click Upload button
- Select
areawp-vX.X.X.zipfile - Wait for upload to complete
- Right-click the ZIP file → Extract
- Confirm extraction
- Delete the ZIP file after extraction
3.2 Verify File Structure
After extraction, yourpublic_html directory should contain:
Step 4: Create Database
Create MySQL Database
Create Database via DirectAdmin
Create Database via DirectAdmin
Set Up AreaWP Database
- Log in to DirectAdmin as reseller user (
awp) - Navigate to MySQL Management
- Click Create new Database
| Field | Value | Example |
|---|---|---|
| Database Name | areawp_db | awp_areawp_db |
| Database User | areawp_user | awp_areawp_user |
| Password | Strong password | Generate secure password |
- Click Create Database
- Save credentials - you’ll need them for installation
- Database Name:
awp_areawp_db(prefix added by DirectAdmin) - Username:
awp_areawp_user(prefix added by DirectAdmin) - Password: Your chosen password
- Host:
localhost
Database Prefix: DirectAdmin automatically prefixes database names and usernames with your reseller username (
awp_). This is normal and expected.Create Database via SSH
Create Database via SSH
Alternative: Command Line Method
- Connect to server via SSH as root
-
Log in to MySQL:
-
Create database and user:
-
Verify database creation:
Step 5: Run Web Installer
Access Installation Wizard
- Open your web browser
-
Navigate to:
Replace
yourdomain.comwith your actual domain name.
Installation Steps
1
Welcome Screen
License Agreement
- Read the license agreement
- Accept terms and conditions
- Click Continue
2
System Requirements Check
Verify Server CompatibilityThe installer will automatically check:
- PHP version (8.3+)
- Required PHP extensions
- ionCube Loader
- File permissions
- DirectAdmin availability
- Review the error messages
- Fix the issues on your server
- Refresh the page to re-check
3
Database Configuration
Enter Database DetailsFill in the database information you created earlier:
Click Test Connection to verifyIf successful, click Continue
| Field | Value |
|---|---|
| Database Host | localhost |
| Database Name | awp_areawp_db |
| Database User | awp_areawp_user |
| Database Password | Your database password |
| Table Prefix | awp_ (default) |
4
DirectAdmin Configuration
Configure DirectAdmin Integration
Click Test Connection to verify DirectAdmin accessIf successful, click Continue
| Field | Value | Notes |
|---|---|---|
| DirectAdmin URL | https://your-ip:2222 | Your server IP and DA port |
| Reseller Username | awp | Your 3-char reseller username |
| Login Key | your-login-key | From Step 2.5 |
| User Package | std | Your 3-char package name |
5
Admin Account
Create Administrator Account
Click Continue
| Field | Description |
|---|---|
| Admin Email | Your email address |
| Admin Password | Strong password (8+ chars) |
| Confirm Password | Re-enter password |
| Platform Name | Your agency/company name |
| Platform URL | Your domain (auto-filled) |
6
Installation
Installing AreaWPThe installer will now:
- Create database tables
- Configure system settings
- Set up file permissions
- Initialize platform
- Create admin account
7
Completion
Installation Successful!You’ll see a success message with:
- Admin panel URL
- Login credentials
- Next steps
- Save your login credentials
- Delete the
/installdirectory for security - Proceed to admin panel
Step 6: Post-Installation
Security Steps
Delete Installation Directory
Delete Installation Directory
Remove Installer for SecurityVia DirectAdmin File Manager:
- Navigate to
public_html/install - Right-click → Delete
- Confirm deletion
Activate Your License
Activate Your License
Add Your License KeyAdd your license key to unlock all features and receive updates.Step 1: Get Your License Key
- Log in to your AreaWP account:
- Navigate to your Downloads or License section
- Copy your license key
- Log in to your AreaWP admin panel
- Navigate to: Admin Panel → General Options → License Settings
- Paste your license key in the License Key field
- Click Activate License
- Wait for confirmation message
- ✅ License status: Active
- ✅ License type: (Self-Hosted/Hosted)
- ✅ Expiration date: (if applicable)
- ✅ All features unlocked
- Verify the license key is correct (no extra spaces)
- Check your server has internet connectivity
- Ensure firewall allows outbound connections
- Contact support if issues persist
Configure Cron Jobs
Configure Cron Jobs
Set Up Automated TasksAreaWP requires cron jobs for automated operations.Add Cron Job via DirectAdmin:
- Go to Advanced Features → Cron Jobs
- Add new cron job:
- Automated backups
- Update checks
- Email notifications
- Renewal reminders
- System maintenance
Step 7: Access AreaWP
Log In to Admin Panel
-
Navigate to:
-
Enter your admin credentials:
- Email: Your admin email
- Password: Your admin password
- Click Log In
Initial Configuration
After logging in, complete these essential setup steps:General Settings
Configure platform basics
Theme Setup
Customize branding
Payment Gateways
Set up billing
Hosting Packages
Create packages
Troubleshooting
White Screen / 500 Error
White Screen / 500 Error
Issue: Blank page or internal server errorSolutions:
- Check PHP error logs in DirectAdmin
- Verify ionCube Loader is installed
- Check file permissions (755/644)
- Ensure PHP 8.3 is active
- Verify .htaccess file exists
- Check Apache/Nginx error logs
- Increase PHP memory_limit to 256M
Database Connection Failed
Database Connection Failed
Issue: Cannot connect to databaseSolutions:
- Verify database credentials are correct
- Check database exists in DirectAdmin
- Ensure database user has privileges
- Test MySQL connection manually
- Verify database host is ‘localhost’
- Check MySQL service is running
- Review MySQL error logs
DirectAdmin Connection Failed
DirectAdmin Connection Failed
Issue: Cannot connect to DirectAdmin APISolutions:
- Verify DirectAdmin URL is correct (https://ip:2222)
- Check Login Key is valid and not expired
- Ensure reseller username is correct (3 chars)
- Verify package name is correct (3 chars)
- Test DirectAdmin access manually
- Check firewall allows port 2222
- Verify SSL certificate is valid
Permission Denied Errors
Permission Denied Errors
Issue: File permission errorsSolutions:
- Set directory permissions to 755:
- Set file permissions to 644:
- Ensure files are owned by reseller user:
- Check sudo permissions are configured
- Verify SELinux is not blocking (if enabled)
exec/shell_exec Not Working
exec/shell_exec Not Working
Issue: System commands fail to executeSolutions:
- Navigate to
/admin/GeneralOption - Enable shell functions via interface
- Or manually edit php.ini:
- Remove exec from disable_functions
- Remove shell_exec from disable_functions
- Restart PHP-FPM service
- Verify with phpinfo()
- Check sudo permissions are granted
SSL Certificate Issues
SSL Certificate Issues
Certificate Request Failed:Common issues and solutions:
- Invalid API Credentials:
- Verify API token is correct
- Ensure token has DNS Edit permissions
- Check token hasn’t expired
- DNS Not Propagated:
- Ensure domain is active in Cloudflare
- Check nameservers point to Cloudflare
- Wait 5-10 minutes for DNS propagation
- Rate Limit Exceeded:
- Let’s Encrypt has rate limits (5 certificates per domain per week)
- Wait before retrying
- Use staging environment for testing
- Verify certificate includes
*.yourdomain.com - Check subdomain DNS records exist
- Ensure Apache/Nginx is configured for wildcard
- Restart web server
- Clear browser cache
Getting Help
Documentation
Browse complete documentation
Support Portal
Submit a support ticket
Video Tutorials
Watch installation videos
Community Forum
Ask the community
Professional Installation Service
Need help with installation? We offer professional AreaWP platform installation for a one-time fee of €50. What’s Included:- AreaWP platform installation
- Database configuration
- DirectAdmin integration setup
- Initial admin account creation
Installation Complete! Proceed to General Settings to configure your platform and start creating client websites.