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...

How can I choose a strong password?

Tips for choosing a strong password Using weak passwords can leave your account vulnerable to...

Why is my domain or website suspended?

If your website is suspended, your payment may be late and your invoice over due. Login to the...

What are my FTP Connection Settings & Credentials?

Your FTP information is found in the welcome email you received upon signing up for your new...

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...