Question: Why is my website showing “500 Internal Server Error”? Print

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

Answer:

 

This article explains the common reasons why your website may display a “500 Internal Server Error” and how to troubleshoot the issue on GHFS Hosting using Plesk.

1. What Is a 500 Internal Server Error?

A 500 error indicates that something went wrong on the server, but the exact cause is not immediately visible.
It generally means the website’s code, configuration, or permissions are causing the server to fail while processing the request.

2. Common Causes of 500 Errors

2.1. Incorrect File or Folder Permissions

If permissions are set too high or too low, the server may block access.

Typical recommended permissions:

  • Folders: 755

  • Files: 644

2.2. Errors in .htaccess

A misconfigured or unsupported rule in .htaccess can cause an immediate 500 error.

Examples include:

  • Wrong rewrite rules

  • Syntax errors

  • Unsupported modules

2.3. PHP Errors

Your website’s PHP script may be causing the error due to:

  • Deprecated functions

  • Fatal errors in code

  • Unsupported PHP version

  • Missing PHP modules

2.4. Reaching Resource Limits

If your hosting plan's limits are exceeded (CPU, RAM, I/O), the server may return a 500 error.

2.5. Corrupted or Missing Files

Incorrect uploads, incomplete transfers, or corrupted configuration files may prevent the site from loading.

3. How to Diagnose the Error in Plesk

Step 1: Check Error Logs

  1. Log in to Plesk

  2. Go to “Websites & Domains”

  3. Select the domain

  4. Click “Logs”

Look for error messages labelled as error, fatal, or php-fpm, which usually point to the root cause.

Step 2: Review File Permissions

  1. Open “File Manager”

  2. Check folder permissions

  3. Adjust to 755 for folders and 644 for files if necessary

Step 3: Examine the .htaccess File

  1. Locate the .htaccess file in your site’s root directory

  2. Temporarily rename it (for example: .htaccess_backup)

  3. Reload your site

If the site loads, the .htaccess file contains the problem.

Step 4: Check PHP Version and Settings

  1. Go to “PHP Settings” in Plesk

  2. Try switching to a stable version of PHP

  3. Ensure required PHP extensions are enabled

Step 5: Re-upload Missing or Corrupted Files

If the error started after an upload or update, try re-uploading files.

4. When to Contact GHFS Hosting Support

Contact support if:

  • You cannot identify the error in the logs

  • Your website is still showing 500 after checking the common causes

  • You need help with diagnosing PHP or configuration errors

  • You suspect a server-level issue

GHFS Hosting support can review logs, restore backups, and help fix underlying issues.


Was this answer helpful?

« Back