Question: How can I view error logs in GHFS Hosting? Print

  • GHFS Hosting, best hosting provider, GHFS cloud hosting, shared hosting guide, GHFS web hosting, VPS hosting setup, SSD web hosting, DNS configuration guide, managed hosting services, hosting knowledge base, how to register a domain, how to transfer a domain, domain and hosting tutorials, hosting control panel tutorial, SSL installation guide, email hosting setup, A record guide, MX record setup, DNS records explained, SSL certificate troubleshooting, WordPress migration guide, CNAME configuration, WordPress installation GHFS, optimize WordPress performance, fix internal server error, enable SSH access, FTP upload guide, Linux server commands, MySQL database tutorial, PHP configuration guide, secure VPS server, malware removal guide, website security tutorial, DDoS protection GHFS, secure hosting best practices, install Docker on VPS, firewall configuration VPS, cloud server configuration, how to manage Linux VPS, VPS hosting tutorial, Redis installation, Node.js on VPS, Apache configuration guide, disable root login SSH, Python hosting tutorial, Nginx setup GHFS, MySQL optimization, SSL troubleshooting, secure website setup, hosting performance optimization, hosting troubleshooting guide, cPanel tutorial, Plesk tutorial, SMTP configuration guide, email deliverability guide, server hardening tutorial
  • 0

Answer : 

Error logs help you identify issues with your website, such as PHP errors, missing files, plugin or theme failures, server misconfigurations, and more. GHFS Hosting provides several ways to access logs directly from Plesk.

This article explains all available methods.


1. View Logs Using Plesk Log Browser (Recommended)

Plesk includes a built-in log viewer that displays real-time logs for your website.

Steps:

  1. Log in to your Plesk control panel

  2. Go to Websites & Domains

  3. Choose your domain

  4. Click Logs

  5. View your logs in real time or filter by log type

You can filter logs such as:

  • error_log

  • access_log

  • proxy error logs

  • PHP errors

  • nginx/access logs

This is the easiest and fastest method.


2. Enable “Show Only Errors” Mode

Inside the Plesk log viewer:

  • Use the Filter dropdown

  • Select Errors only

This helps you find the problem quickly.


3. Download Logs for Offline Analysis

You can download logs directly from Plesk.

Steps:

  1. Go to Logs

  2. Click Export (or Download)

  3. Save the file for local analysis

This is useful when submitting logs to GHFS Hosting support.


4. View Raw Log Files Through File Manager

Plesk stores log files on the server, and you can view them through the File Manager.

Steps:

  1. Go to Websites & Domains

  2. Open File Manager

  3. Navigate to:
    /logs/

In this directory, you may see files such as:

  • error_log

  • access_log

  • proxy_error_log

  • php_error.log

You can open or download them.


5. View Logs Using SSH (Advanced Users)

If you have SSH access, you can use command-line tools.

Common log locations:

 
 
/var/www/vhosts/yourdomain.com/logs/ /var/www/vhosts/system/yourdomain.com/logs/

View logs in real time:

 
 
tail -f error_log

Requires SSH-enabled plans.


6. Enable WordPress Debug Log (If Your Site Uses WordPress)

If you want WordPress-specific errors:

  1. Edit wp-config.php

  2. Add:

 
 
define('WP_DEBUG', true); define('WP_DEBUG_LOG', true);
  1. Logs appear at:

 
 
/wp-content/debug.log

This file logs PHP and WordPress errors.


7. Enable PHP Error Display (For Testing Only)

If needed, you can temporarily enable PHP errors in Plesk:

Steps:

  1. Websites & Domains

  2. PHP Settings

  3. Enable:

    • display_errors = On

    • error_reporting = E_ALL

Important:
Turn this OFF after testing, because error display is not secure.


8. When to Contact GHFS Hosting Support

Contact support if:

  • Your logs are empty but your website still shows errors

  • You cannot access the Logs section

  • You see repeated fatal PHP errors

  • WordPress debug logs are not generated

  • You need help diagnosing server-side issues

Support can analyze logs on your behalf and guide you to the solution.


Was this answer helpful?

« Back