This article explains the common reasons why a 403 Forbidden error appears on a website hosted with GHFS Hosting and how to resolve it. A 403 error means the server understands your request but refuses to allow access.
1. File and Folder Permission Issues (Most Common)
Incorrect permissions on your website files or folders can cause a 403 error.
Recommended permissions:
-
Folders: 755
-
Files: 644
How to check:
-
Log in to Plesk
-
Go to File Manager
-
Select a file or folder
-
Click Permissions (or similar depending on setup)
Incorrect permissions should be fixed immediately.
2. Missing or Incorrect Index File
The main homepage file is required for your site to load.
Your website needs an index file such as:
-
index.php
-
index.html
If this file is missing or renamed, you may see a 403 error.
3. IP Access Restrictions in .htaccess
Your .htaccess file may contain rules blocking access.
Common problematic entries include:
-
Deny from all
-
Allow from specific IPs only
-
Incorrect rewrite rules
If you recently edited .htaccess, try restoring a previous version.
4. Security Extensions or Firewalls Blocking Your Access
Security tools like:
-
ModSecurity
-
Fail2Ban
-
Firewall filters
may block access if they detect suspicious activity, even if unintended.
Contact support if you believe your IP is blocked.
5. Incorrect Ownership or Broken Permissions After Upload
If files were uploaded using:
-
Wrong FTP user
-
Incorrect ownership
Plesk may prevent access, resulting in a 403.
Uploading via Plesk File Manager usually avoids this issue.
6. Directory Listing Disabled
If a folder does not contain an index file and directory listing is disabled, you will see a 403 error.
Example:
Trying to open:
https://yourdomain.com/images/
If there is no index file, the server blocks access.
7. Blocked by Domain or Hosting Suspension
If your hosting account or a specific domain is suspended:
-
Website may show 403
-
Access to certain areas may be restricted
Check your GHFS Hosting account status if this may be the cause.
8. How to Fix a 403 Error
Step-by-step checklist:
-
Ensure index.php or index.html exists
-
Fix file permissions (755 folders, 644 files)
-
Remove or correct .htaccess rules
-
Check if your IP is blocked by security filters
-
Re-upload corrupted or incomplete files
-
Confirm your hosting subscription is active
9. When to Contact GHFS Hosting Support
Contact support if:
-
You cannot determine the cause
-
The error appeared suddenly after no changes
-
Security rules are blocking your IP
-
Permissions cannot be corrected
-
The site remains inaccessible after fixes
Support can check server logs and identify the exact reason.