You can use the Logs section of the hosting Control Panel to view the Apache logs in almost real time, download the raw Apache and FTP logs, or search through the mail server logs for messages.
The Logs section is split into three subsections:
The Live HTTP logs subsection gives you the ability to view the access and error logs of the Apache web server in near real time. The live logs will be enabled within one minute after you open the Live HTTP logs subsection, and they will be disabled six hours after you close the subsection. There are two options (Auto refresh and Auto scroll) in the Live HTTP logs subsection which are enabled by default. The Auto refresh option will refresh the subsection in your browser to display new entries automatically, and the Auto scroll option will scroll to the newest entry from the displayed live logs automatically.
Note: The live logs will appear in near real time, so a delay of several seconds is to be expected.
The Download logs subsection allows you to download the raw Apache (web server) logs and the FTP logs for your account on the server. By accessing the subsection, you will be redirected to the logs directory for your account (/home/YOUR_USERNAME/logs) via the Control Panel -> File Manager interface where you can proceed with the download.
It is also possible to download the raw Apache logs and the FTP logs via FTP. Detailed instructions on how to connect to your account via FTP are available in the Uploading files section from our online documentation. After you connect to your account via FTP, you should navigate to the logs directory (/logs) in the FTP client. To access this directory, your FTP account must have access to it or to the home directory (/) for your account. More details on how to modify the directory that an FTP account can access are available in our FTP Manager article.
In the logs directory, you will find today's Apache logs for each subdomain and the FTP logs for the account in a .log file format. Older log files are stored in the .log.gz file format and in subdirectories of the logs directory on a monthly basis (e.g. /logs/2020-11). The log files are updated once per hour.
Note: If there are no log files for a specific subdomain or date, this means there were no entries in the Apache/FTP log files of the server for that subdomain or date.
The Mail logs subsection gives you the ability to search for messages sent from or delivered/addressed to your mailboxes in the SMTP session, mail delivery, and Spamdyke logs of the mail server in real time. You need to enter a mailbox, subdomain, or a domain from your hosting account in the Sender or Recipient fields to search the server's mail logs.
For step-by-step instructions on how to search for a specific message, please refer to our Searching for messages in the mail server logs article.
You will not see search results in the Mail logs subsection for messages:
- sent through mail scripts where the sender is not explicitly defined as a mailbox of your hosting account. Messages sent from such improperly configured mail scripts are sent from a system mailbox on the server (e.g. anonymous@sXXX.sureserver.com).
- addressed to mailboxes that do not exist. For such messages, the sender will receive a bounce-back error message explaining the problem.
- received from an external domain and forwarded by one of your mailboxes to other external domains. Such deliveries are recorded in the mail server logs, but your domain does not appear in these records. Because of that, these entries will not be shown.