How to Check Website Error Logs on DirectAdmin

Monitoring your website’s error logs is one of the easiest ways to diagnose issues like broken pages, server errors, slow loading, or plugin conflicts. DirectAdmin provides multiple locations where you can view these logs.

Here is how to find them:

1. Error Logs in “Site Summary / Statistics / Logs”

This is the easiest method for beginners.

Steps:

  1. Log in to your DirectAdmin dashboard.

  2. Go to “Site Summary / Statistics / Logs.”

  3. Select your domain.

  4. Look under Error Log.

Here you will see recent errors such as:

  • 404 (Page Not Found)

  • 500 (Internal Server Error)

  • Permission issues

  • Script or PHP errors

2. Error Logs via “File Manager”

DirectAdmin also saves logs in your domain directory.

Steps:

  1. Open File Manager in DirectAdmin.

  2. Navigate to:
    /domains/yourdomain.com/logs/

  3. Look for files like:

    • error_log

    • domain.com.error.log

    • php_error.log

You can open these files directly to view detailed technical errors.

3. PHP Error Logs (if enabled)

If PHP error logging is turned on, you may find additional logs in:

public_html/error_log
This file logs runtime errors such as:

  • Deprecated PHP functions

  • Undefined variables

  • Plugin or theme issues

4. Using “Custom HTTPD Logs” (Advanced Users)

If your hosting provider enables it, you can view both:

  • Access Logs

  • Error Logs

via tools under Advanced Features.

This is useful for deep debugging.

Extra Tips

  • Always check both error_log and php_error.log for full insight.

  • If logs are empty, enable error reporting in your hosting or PHP settings.

  • Regularly clear old logs to keep your storage clean.

Summary

You can find your website’s error logs in DirectAdmin via:

  1. Site Summary / Statistics / Logs (Quick View)

  2. File Manager → /domains/yourdomain.com/logs/

  3. public_html/error_log (PHP errors)

  4. Advanced HTTPD Logs (if enabled)

These logs help you troubleshoot issues faster and keep your site healthy.