Updated: 13 November 2026 · Applies to: DirectAdmin

DirectAdmin's own logs are in /var/log/directadmin/. Mail, web and FTP each keep their own logs elsewhere on the server.

DirectAdmin's own logs

  • /var/log/directadmin/error.log: DirectAdmin's own errors
  • /var/log/directadmin/system.log: account and system actions taken through the panel
  • /var/log/directadmin/security.log: logins and security events
  • /var/log/directadmin/login.log: a record of panel logins
  • /var/log/directadmin/access.log: requests made to the DirectAdmin service itself
  • /var/log/directadmin/errortaskq.log: errors from DirectAdmin's task queue (background jobs such as rebuilding configs)

Website logs (per domain)

Each domain gets its own access and error log, named after the domain:

  • Apache: /var/log/httpd/domains/example.com.log and /var/log/httpd/domains/example.com.error.log
  • nginx: /var/log/nginx/domains/example.com.log and /var/log/nginx/domains/example.com.error.log

The web server's own general logs sit alongside these: /var/log/httpd/error_log and /var/log/httpd/access_log for Apache, or /var/log/nginx/error_log and /var/log/nginx/access_log for nginx.

Mail logs

  • /var/log/exim/mainlog: every message Exim sends or receives
  • /var/log/exim/rejectlog: messages Exim refused
  • /var/log/exim/paniclog: Exim's own serious errors (usually empty)
  • /var/log/maillog: IMAP and POP logins (Dovecot)

FTP and database logs

  • /var/log/proftpd/access.log and /var/log/proftpd/auth.log (ProFTPD, if that is the FTP server in use)
  • /var/log/pureftpd.log (PureFTPd, if that is the FTP server in use)
  • MariaDB or MySQL's own error log, next to its data directory (for example /var/lib/mysql/HOSTNAME.err on most Linux distributions)

General system log

Most current distributions log to the systemd journal rather than a plain text file. Use:

journalctl -xe

On an older distribution that still keeps a plain syslog file, check /var/log/messages instead.

Follow a log live

Use tail -f to watch a log as new lines are written, for example while reproducing a mail delivery problem:

tail -f /var/log/exim/mainlog

Press Ctrl+C to stop following. If you only need the last part of a large log rather than a live feed, use tail -n 200 instead.

For the install itself, see How to Install DirectAdmin on a VPS or Dedicated Server. If you manage your own unmanaged server and want a second pair of eyes on a log, Ucartz's Hire an Expert engineers can take a look on a pay-per-use basis.

Troubleshooting a specific WordPress symptom rather than looking for a path? See Troubleshooting a WordPress Error Using DirectAdmin Log Files for which log answers which problem.

Official documentation: DirectAdmin, directories and locations.

Related services

Server management

on-demand administration, hardening, migrations and monitoring.

KVM VPS hosting

NVMe SSD and full root access, with Free Basic Managed Support.

Was this answer helpful?

Still stuck? Open a ticket