Arsal • Location • Starter

How to Fix 403 Forbidden Error in cPanel

Client Problem: The website displays a "403 Forbidden" error and prevents visitors from accessing any pages.

Cause: The web server is blocking access due to incorrect file permissions, a corrupted .htaccess file, IP restrictions, or a missing index file.

Technical Solution Steps:

  1. Log in to cPanel: Access your cPanel account using your credentials.


  2. Fix File Permissions: Go to the file section then Open File Manager, ensure folders (like public_html) are set to 755 and files are set to 644.


  3. Reset .htaccess File: In public_html, show hidden files, rename .htaccess to .htaccess_old, and create a default .htaccess file.                                                                                                                             

  4. Check IP Blocker: Go to Security > IP Blocker and ensure your IP address is not blocked.

  5. Verify Index File: Confirm your website root directory contains a valid index.php or index.html file.