An essential part of managing websites hosted on CyberPanel involves checking log files. These files are crucial for troubleshooting issues, monitoring server performance, and ensuring security. To access and interpret CyberPanel log files, check this guide 👇
Accessing CyberPanel
To start, log in to your CyberPanel dashboard. You can access CyberPanel through your web browser by navigating to:
https://vps_ip:8090
Replace vps_ip with the IP address of your server.
Next, enter the username admin and password to log in. If needed, you can reset your password from hPanel.
Locating the Log Files
Once logged in, you can locate the log files by following these steps:
On the main dashboard, look for the Logs section - typically can be found in the sidebar or the dropdown menus, depending on your CyberPanel version
Select the log type - CyberPanel keeps different types of logs, including error logs, access logs, and mail logs. Choose the type of log you wish to view. For example, to troubleshoot a website issue, you might want to check the error logs.
Reviewing the Logs
Upon selecting a log type, you will be presented with a list of log files. These files are often named according to the domain or service they correspond to. For instance, you might see domain.tld_error.log for error logs related to the website domain.tld.
Click on the log file to open it in a new window or tab, where you can browse through its contents. It will look similar to this:
Understanding the Log Contents
Log files contain entries that can help you understand what's happening on your server:
Timestamp - the date and time when the error was registered
Log level - typically can be informational, error or warning
Process ID (PID) - unique numerical identifier assigned to a particular running process
Module and component - the module and component, when applicable, infolved in the event
Description - event message
IP Addresses and URLs - If the event is related to an IP or URL it will be declared in the descripton
Troubleshooting with Logs
You can use the information from the logs to diagnose issues, for exzmple, by looking for error messages or unusual entries that correspond to the time when you experienced issues
Identify patterns - recurring errors can indicate ongoing issues
Identify traffic sources - check if traffic is recognized and legitimate or if protection measures are required
Match events with errors - correlate server events with log entries to identify causes
Seek assistance - search the error message on the official documentation or internet forums. You can also use our VPS AI assistant for further troubleshooting 🚀
Checking the log files in CyberPanel is a straightforward process that can help you maintain the health and performance of your websites. Regularly monitoring these logs is a recommended practice to ensure optimal performance and uptime for your sites.