Documentation Index
Fetch the complete documentation index at: https://docs.areawp.com/llms.txt
Use this file to discover all available pages before exploring further.
Installation Overview
The installation process consists of 4 main phases: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
- 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
- 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)
- 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 |
2.4 Configure SSL Certificate
Set Up Wildcard SSL with Cloudflare
Set Up Wildcard SSL with Cloudflare
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
-
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
-
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)
- 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
- 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
awp_). This is normal and expected.Create Database via SSH
Create Database via SSH
- 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
Welcome Screen
- Read the license agreement
- Accept terms and conditions
- Click Continue
System Requirements 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
Database Configuration
| Field | Value |
|---|---|
| Database Host | localhost |
| Database Name | awp_areawp_db |
| Database User | awp_areawp_user |
| Database Password | Your database password |
| Table Prefix | awp_ (default) |
DirectAdmin Configuration
| 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 |
Admin Account
| 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) |
Installation
- Create database tables
- Configure system settings
- Set up file permissions
- Initialize platform
- Create admin account
Step 6: Post-Installation
Security Steps
Delete Installation Directory
Delete Installation Directory
- Navigate to
public_html/install - Right-click → Delete
- Confirm deletion
Activate Your License
Activate Your License
-
Log in to your AreaWP account:
- Navigate to your Services section
- Copy your license key under Label column
- 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
- 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
Theme Setup
Payment Gateways
Hosting Packages
Troubleshooting
White Screen / 500 Error
White Screen / 500 Error
- 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
- 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
- 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
-
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
- 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
- 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
Support Portal
Video Tutorials
Community Forum
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