Viewing website statistics and logs in DirectAdmin

Where to find access logs and error logs for your domain, how to read a log line, and which log to check for which problem.

Guide2 min readLast updated
On this page
  1. Opening the logs
  2. The error log
  3. The access log
  4. A good habit
  5. If it doesn’t work
  6. Common questions

Logs are the fastest route from “it’s broken” to “this line in this file”. DirectAdmin keeps two for each domain.

Opening the logs

  1. Open System Info & Files › Site Summary / Statistics / Logs.
  2. Choose the domain.
  3. Select the error log or access log.

The newest entries are at the bottom.

The error log

Records problems the web server and PHP hit. Check it first for:

  • 500 Internal Server Error
  • Blank pages
  • 403 Forbidden
  • “There has been a critical error”

A typical PHP line:

[php:error] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/user/domains/yourdomain.co.uk/public_html/db.php:12

That gives the type (Fatal error), the cause (an undefined function — here, one removed in PHP 7) and the file and line (db.php, line 12). Understanding PHP error messages

The access log

Records every request: visitor IP, time, path, status code and user agent.

203.0.113.7 - - [15/Sep/2026:10:14:03 +0000] "POST /wp-login.php HTTP/1.1" 200 4520 "-" "Mozilla/5.0"

Useful for spotting:

A good habit

Reproduce the problem, then open the error log straight away. Matching the time of your request to a log entry removes the guesswork.

Prefer to follow along?

Traxio’s cheap DirectAdmin hosting runs on NVMe storage with Softaculous and free SSL: £0.99 a month.

If it doesn’t work

These guides cover the most common problems, starting with what you can see. Or browse every fix for a common problem.

Common questions

Where do I find my website statistics and logs?

In DirectAdmin under System Info & Files › Site Summary / Statistics / Logs. You get visitor statistics plus the raw access and error logs for your domain — the error log is the one to read when something on the site is failing.

Server statistics count every request, including bots, so the visitor numbers will be higher than an analytics tool that only counts real browsers. Use them for bandwidth and error investigation rather than as an audience measure.

Spotted something out of date or unclear? Tell us and we’ll fix it.

Keep going