High-Performance Web Hosting

  • SSD Storage
  • Daily Backups
  • 1-click WordPress
  • 24/7 Support


1st Month $1 Only

Get started →

What does 403 Forbidden Error or Access Denied error mean?

403 Forbidden Error means that your request to accessing a file or resource is being denied by the web server. Mostly this error is caused due to mis-configured permissions or .htaccess file, other times it could be caused by our mod_security rules as well.

Check the error log available from cPanel to help you determine the cause of the error.

If your error log shows "client denied by server configuration", this usually means that your script/file/folder has invalid permissions or the visitor is trying to look at hidden files such as .htaccess file (any file name that starts with a dot. are not accessible on the web)

CHMOD Permissions 
If the error is occurring due to permissions, make sure all Directories and folders are set to 755 permissions. Scripts within the cgi-bin folder should be 755 permission. Images, media, and text files like HTML should be 644. PHP scripts should be 644 as well.

.htaccess misconfiguration

Make sure all your mod_rewrite values are correct, there are no typos or any misconfiguration.

Other possibilities could include blocked IP, make sure you are not blocking the IP from cPanel's IP Deny Manager. You could have also changed the Index Manager to No Indexing from cPanel. This will lead to a 403 error if there is no correct index page to load.


If the error is being caused by mod_security, simply submit a support ticket for further help.

  • 32 Users Found This Useful
Was this answer helpful?

Related Articles

Why is my website showing 500 Internal Server Error?

How To Fix a 500 Internal Server Error Internal server errors can be caused for several...

Where can I check the server status?

You can check out real-time server status at any time in your client portal under Support -->...

How can I test or preview my website before switching DNS?

If you have recently registered a new domain or updated the DNS of your existing domain name at...

php error: Allowed memory size of x bytes exhausted

If you are getting an error like "Allowed memory size of... in file...

How to limit number of simultaneous FTP connections in FileZilla

If you are uploading/downloading too many files at once through FTP, you risk the chance of being...