Access/Error logs of the web server on Hestia CP

2 October, 2023

The specified control panel, similar to its counterparts operating on a server, logs the latest actions: website visits (requests made by a bot, user, or search spider), occurrence of errors during operation, etc. A log file is used to mark the event. It records the time of occurrence, IP address, and description. For example, after uploading the website to the server, when a user visits, they see the error 403 Forbidden.

To obtain detailed information, you need to:

  • Go to Hestia.
  • Enter the WEB section.
  • Hover the cursor over the site where you need to check the logs.
  • Click the button with the magnifying glass icon.
  • After the corresponding page appears, you need to go to the access log, which tracks requests, or to the error log to view and analyze errors that occurred during the website visit. The latest entries in the logs are always located at the bottom.

The format of the error log entry looks like this: 

  • date of occurrence;
  • server code;
  • pid of the process on the server;
  • IP address of the visitor;
  • text.

For example: [Mon Jun 13 12:30:56.411913 2022] [autoindex:error] [pid 3397007:tid 140341852813056] [client 123.231.222.313:0] AH01276: Cannot serve directory /home/example/web/example.pp.ua/public_html/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive.

The message indicates the absence of the index file index.php/html in the root directory of the site, which is responsible for correctly displaying the homepage. To better understand the essence of the error, it is advisable to cross-check the information online. The vast majority of errors are typical, so their solutions are approximately the same. To find information regarding the described case, you should enter the phrase "error 403 forbidden" into the search query.