Domain Management
Domain Management
Manage your web domains, configure DNS, SSL certificates, and optimize performance directly from WisPanel.
Adding a Domain
- Click Add Domain button
- Enter domain name (e.g., example.com)
- Choose domain type:
- Main Domain: Primary domain for account
- Addon Domain: Additional domain pointing to different folder
- Subdomain: Subdomain under existing domain
- Select or create document root folder
- Click Create
Domain Settings
Document Root
- Click Browse to select folder
- Default: /home/username/public_html
- Ensure folder exists and is writable
PHP Version
- Open domain settings
- Select PHP version from dropdown:
- PHP 7.4, 8.0, 8.1, 8.2, 8.3
- System Default (recommended)
- Click Apply
- Changes take effect immediately
SSL Certificate
- Navigate to SSL tab
- Options:
- Let's Encrypt: Free auto-renewing certificate
- Self-Signed: For testing/private use
- Upload Custom: Use your own certificate
- Configure auto-renewal if using Let's Encrypt
HTTPS Redirect
- Open domain settings
- Toggle Force HTTPS
- All HTTP traffic redirects to HTTPS
- Check Permanent Redirect (301) for SEO
WWW Redirect
- Choose redirect type:
- No redirect
- Redirect www to non-www
- Redirect non-www to www
- Apply changes
Custom Error Pages
- Click Error Pages
- Upload custom HTML for:
- 404 Not Found
- 403 Forbidden
- 500 Server Error
- 503 Service Unavailable
- Save configuration
Hotlink Protection
- Enable Hotlink Protection
- Whitelist domains that can hotlink
- Specify file extensions to protect (.jpg, .png, etc.)
- Set referrer replacement image (optional)
Advanced Features
DNS Management
- View nameservers for domain
- Update A, CNAME, MX, TXT records
- Configure subdomains via DNS
Domain Pointers
- Add alternative domain names pointing to same content
- Useful for brand variations
- All pointers share same folder and configuration
Redirects
- Create permanent (301) or temporary (302) redirects
- Redirect old domain to new domain
- Redirect specific paths
HSTS (HTTP Strict Transport Security)
- Enable HSTS header
- Set max-age duration (31536000 = 1 year)
- Include subdomains option
- Preload option for HSTS preload list
FastCGI Cache
- Enable caching for static content
- Configure cache duration
- Whitelist dynamic pages (admin, cart, etc.)
- Test cache effectiveness
Vhost Editor
- Click Edit Vhost
- Modify Apache/Nginx configuration directly
- Add custom rules, redirects, headers
- Be careful with syntax
- Test configuration before saving
Management Operations
Suspend Domain
- Right-click domain
- Click Suspend
- Domain becomes inaccessible
- Can be resumed later
Delete Domain
- Backup files and databases first
- Right-click domain > Delete
- Confirm deletion
- Choose to delete files and/or databases
- Cannot be undone
Regenerate Vhost
- If configuration becomes corrupted
- Right-click > Regenerate Vhost
- System rebuilds vhost file
- Service restarts automatically
View Statistics
- Domain stats show bandwidth usage
- Requests per day
- Error rates
- Performance metrics
Troubleshooting
Domain not accessible:
- Check DNS propagation (24-48 hours)
- Verify document root exists
- Check file permissions
SSL certificate errors:
- Ensure domain is publicly accessible
- Let's Encrypt validation requires HTTP access
- Check firewall/port forwarding
PHP not working:
- Verify PHP version is selected
- Check file permissions
- Review PHP error logs
[Screenshot: domain-management.png] [Screenshot: domain-settings.png] [Screenshot: ssl-configuration.png]