DirectAdmin troubleshooting: Common errors and solutions
DirectAdmin usually works flawlessly, but sometimes you encounter an error. In this article, we cover the most common problems and how to solve them. Keep this page handy for quick troubleshooting.
Login problems
"Invalid username or password"
Problem: You can't log in despite correct password.
Solutions:
- Check your username: This is usually your hosting username, not your email address
- Caps Lock: Make sure Caps Lock is off
- Spaces: Ensure there are no spaces before or after your credentials
- Reset password: Use the "Forgot Password" link
- Browser cache: Clear your browser cache and cookies
Still not solved? Contact support for a password reset.
"Account suspended"
Problem: Your account is temporarily blocked.
Possible causes:
- Payment overdue
- Limit exceeded (disk, bandwidth)
- Suspicious activity detected
- Spam sent via your account
Solution: Contact support to find out the reason and restore your account.
"Too many login attempts"
Problem: You're temporarily blocked due to too many login attempts.
Solution:
- Wait 15-30 minutes
- Try again with the correct credentials
- If your IP remains blocked: contact support
Website errors
Error 500 - Internal Server Error
Problem: Your website shows an error message without specific details.
Check first:
- View error logs in DirectAdmin → Error Logs
- PHP memory limit: Your memory might be exhausted
Common causes and solutions:
1. Error in .htaccess
Temporarily rename: .htaccess → .htaccess_backup
Test your site again
2. PHP version incompatible
- Go to PHP Version Manager
- Try a different PHP version (7.4, 8.0, 8.1, 8.2)
3. Permission problems
- Folders: 755
- Files: 644
- wp-config.php: 600 or 644
4. Plugin/theme conflict
- Temporarily rename /wp-content/plugins/
- Test your site
- Activate plugins one by one
Error 403 - Forbidden
Problem: Access denied to a page or file.
Solutions:
- Check permissions: Files should be at least 644, folders 755
- IP not blocked?: Ask support if your IP is on a blacklist
- Index file present?: Check if there's an index.html or index.php in the folder
- Mod_security: Sometimes the firewall blocks legitimate requests - contact support
Error 404 - Not Found
Problem: Page not found.
Solutions:
- Check URL: Typo in the URL?
- Upload file: Is the file actually present?
- Reset permalinks (WordPress): Settings → Permalinks → Save
- Check .htaccess: Should contain rewrite rules
White page (White Screen of Death)
Problem: Page is completely white, no error message.
Solutions:
- Enable PHP errors - Add to wp-config.php:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
- Check /wp-content/debug.log for details
- Increase PHP memory - In php.ini or .user.ini:
memory_limit = 256M
- Debug plugins/themes as with Error 500
Email problems
Sending email doesn't work
Check:
- SMTP settings: Port 465 (SSL) or 587 (TLS)
- Authentication: Full email address as username
- SPF record: Correctly set in DNS?
- Quota: Is your mailbox full?
Receiving email doesn't work
Check:
- MX records: Point to the correct mail server?
- Mailbox quota: Space available?
- Spam filter: Is the mail in spam?
- Forwarders: Is there a forwarding loop?
"Sender address rejected"
Problem: Mail is rejected when sending.
Solutions:
- Only send from addresses on your own domain
- Check SPF record
- Check if the sending address exists as mailbox or alias
Database errors
"Error establishing database connection"
Problem: Website cannot connect to the database.
Check:
- Database credentials in wp-config.php or application config
- Database server is running (usually localhost)
- Database user has privileges on the database
- Database limit: Quota not exceeded?
In DirectAdmin:
- Go to MySQL Management
- Check if the database exists
- Check if the user is linked
- Test the connection via phpMyAdmin
"MySQL server has gone away"
Problem: Database connection lost during query.
Possible causes:
- Query takes too long
- Upload is too large
- Timeout reached
Solutions:
- Increase max_execution_time in PHP
- Split large imports into smaller parts
- Contact support for server-side adjustments
FTP problems
Cannot connect via FTP
Check:
- Hostname: Correct server address (often your domain name)
- Port: 21 (FTP) or 22 (SFTP)
- Username: Often username@domain.com
- Passive mode: Enable for connection problems
- Firewall: Is FTP access allowed on your network?
"Permission denied" when uploading
Solution:
- Check permissions of the target folder (should be 755)
- Upload to public_html, not to root
- Check disk space (quota full?)
SSL/HTTPS problems
SSL certificate not valid
Possible causes:
- Certificate expired: Renew in DirectAdmin → SSL Certificates
- Domain mismatch: Certificate is for different domain
- Mixed content: Some resources load via HTTP
Mixed content warnings
Problem: Browser warns about insecure content.
Solution:
- Change all http:// links to https://
- WordPress: use plugin "Really Simple SSL"
- Database: search and replace http to https
Disk quota full
Disk space exhausted
Symptoms:
- Cannot upload files
- Emails don't arrive
- Website errors
Solutions:
- Clean logs: /logs/ folder in DirectAdmin
- Delete backups: Old backups in /backups/
- Delete spam: Empty spam folders
- Clear cache: WordPress cache, browser cache
- Find large files: Via File Manager, sort by size
DirectAdmin interface problems
DirectAdmin loads slowly
Solutions:
- Clear browser cache: Hard refresh with Ctrl+Shift+R
- Try different browser: Chrome, Firefox, Edge
- Disable VPN: Some VPNs cause delays
- Peak hours: Server might be busy, try later
Features not available
Problem: Certain options are missing in DirectAdmin.
Possible causes:
- Package limitation: Not all features are available in every package
- Reseller limits: Ask your reseller for more options
- Account type: User, reseller, and admin have different rights
When to contact support?
Contact support if:
- You still have a problem after these steps
- You don't have access to DirectAdmin
- You suspect a server error (multiple sites down)
- You notice suspicious activity
- You need help with complex configurations
When contacting support, always mention:
- Your domain name
- Exact error message (screenshot if possible)
- When the problem started
- What you've already tried
- Any recent changes
We're happy to help you solve the problem!
0 van 0 vonden dit nuttig