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.
On this page
Logs are the fastest route from “it’s broken” to “this line in this file”. DirectAdmin keeps two for each domain.
Opening the logs
- Open System Info & Files › Site Summary / Statistics / Logs.
- Choose the domain.
- 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:12That 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:
- repeated login attempts from one address (Brute-force login attacks: how to recognise and stop them)
- which URLs return 404s
- bots crawling heavily
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?
- Diagnose a 500 Internal Server Error
Intermediate · 20 min
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.
- How to log in to DirectAdminWhere to find your DirectAdmin login address, how port 2222 works, and what to do when the login page won’t load.
- 403 Forbidden: how to fix itWhy the server refuses access with a 403 — missing index file, permissions, .htaccess rules or security blocks — and how to fix each one.
- “Permission denied” and files that won’t save or uploadFix uploads and saves failing with permission errors in WordPress, apps and FTP, without resorting to unsafe 777 permissions.
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.