Skip to content

How to Fix 403 Forbidden Error

This guide shows you how to fix the 403 Forbidden error on your website. This error means access to your website or a specific file is being denied by the server.

It can be caused by file permissions, security rules, or server resource limits such as CloudLinux restrictions.

Medium Difficulty
5–15 min Time
Hosting Required

What Causes a 403 Forbidden Error?

Incorrect File Permissions

Files or folders are not accessible to the server.

.htaccess Rules

Security or redirect rules may be blocking access.

CloudLinux Limits

Your account may have hit CPU, memory, or entry process limits.

IP Blocking / Firewall

Your IP address may be blocked by security rules.

Step-by-Step Fix

Check Permissions
Check .htaccess
Check Resources
Test

Fix Using cPanel

Step 1: Check File Permissions

Go to File Manager → public_html and ensure:
Folders = 755
Files = 644

View Permissions Guide

Step 2: Check .htaccess

Rename your .htaccess file to disable any blocking rules.

Step 3: Check Resource Usage

Go to Resource Usage in cPanel and check if limits have been exceeded.

Look for CPU, RAM, or Entry Process limits (CloudLinux).

Step 4: Check IP Blocks

Review IP Blocker and security settings.

Fix Using DirectAdmin

Step 1: Check File Permissions

Go to File Manager → domains → yourdomain.com → public_html.
Folders = 755
Files = 644

View Permissions Guide

Step 2: Check .htaccess

Rename your .htaccess file to test for rule conflicts.

Step 3: Check Resource Usage

Check resource or usage statistics for CPU and memory limits.

Step 4: Check Security Settings

Review firewall or login protection settings.

Step 5: Test Your Website

Reload your website and confirm access is restored.

CloudLinux Limits Explained

CPU Limit

Your site may be using too much processing power.

Memory Limit

Not enough RAM available for processes.

Entry Processes

Too many simultaneous connections to your site.

Common Issues & Fixes

Access Denied on One Page

Likely a permissions or .htaccess issue.

Entire Site Blocked

Check resource limits or server rules.

After Migration

Permissions or ownership may be incorrect.

Related Guides

File Permissions

Fix access issues.

cPanel Guide
DirectAdmin Guide

Fix 500 Error

Resolve server errors.

View Guide

Website Not Loading

Diagnose general issues.

View Guide
← Back to Troubleshooting