View the Apache logs of your website
When troubleshooting issues with your website, it is often necessary to consult the Apache log files. Apache keeps various logs, including the user log (access log) and the error log. In this article, we explain where you can find these logs via DirectAdmin and the steps you need to follow.
Viewing logs in DirectAdmin
- Log in to DirectAdmin
- Go to System Info & Files > Site Summary / Statistics / Logs
- Here your domains in the package are shown. Next to each line is Usage log and Error log. Click on this to open the log.
- Error Log – contains error messages from Apache and PHP
- Access Log – contains visitor requests (URLs, IP addresses, status codes)
Please note: the logs in DirectAdmin only show today's logs.
Viewing older logs
In addition to the recent logs visible in DirectAdmin, older Apache log files are automatically archived. These can be found via the File Manager in DirectAdmin.
- Log in to DirectAdmin
- Open the File Manager
- Go to your domain's folder, for example:
/domains/jouwdomein.nl/ - Open the logs folder
- In this folder you will find one or more
.tar.gzfiles
These .tar.gz files contain older access logs and error logs that have been merged and compressed by Apache.
Extracting logs
- Download the desired
.tar.gzfile to your computer or - Extract the file directly via the File Manager (right-click → Extract, if available)
After extracting, you can open and analyze the individual log files with a text editor.
Still have questions? Get in touch.