Knowledge Base
How to View Access Logs in DirectAdmin
Monitoring Website Traffic
Access logs show every request made to your website.
Viewing Access Logs
- Log into DirectAdmin
- Click Raw Access Logs
- Select the domain
- Download or view the log file
Log File Location
domains/yourdomain.com/logs/access.log
Understanding Log Entries
A typical entry looks like:
123.45.67.89 - - [01/Jan/2024:12:00:00 +0000] "GET /page.html HTTP/1.1" 200 1234
- 123.45.67.89 - Visitor IP address
- [01/Jan/2024:12:00:00] - Date and time
- "GET /page.html" - Requested page
- 200 - HTTP status code (success)
- 1234 - Bytes transferred
Common Status Codes
- 200 - OK (successful)
- 301/302 - Redirect
- 404 - Not Found
- 500 - Server Error
Using Stats Tools
DirectAdmin may include:
- AWStats - Visual traffic statistics
- Webalizer - Another stats option
These are easier to read than raw logs.