403 Forbidden or No Permission to Access

A 403 Forbidden error means that you do not have permission to view the requested file or resource. While sometimes this is intentional, other times it is due to misconfigured permissions.

The top reasons for this error are permissions or .htaccess error.

Permissions

The 403 Forbidden error means that your file has bad permissions. Directories and folders must be 755. Executable scripts within the cgi-bin folder must be 755. Images, media, and text files like HTML should be 755 or 644.

See our article on How to change permissions (chmod) of a file for information on how to change file permissions.

 

If your permissions were changed to 000, please submit a ticket to our Security department and an Administrator will help resolve this.

Only a Security Admin can fix this as it is likely a TOS or abuse issue.

 

Hidden Files (Dot Files)

If you see "client denied by server configuration" in your Error Logs, then this usually means bad file permissions, but could also mean that the visitor is trying to look at a hidden file, like the .htaccess file. You cannot look at that file in your browser, or any file name that starts with a dot.

e.g. http://domain.com/.htaccess will always result in a 403 error.

Other Possibilities

The account may have IP Deny rules. Check in cPanel and make sure you are not blocking your own connecting IP.

You may have changed the Index Manager to No Indexing. This will cause a 403 error if their is no correct index page to load.

The error could be caused by our mod_security rules. Please contact us for further help.

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

Monitor the servers's status

This can be done in cPanel, in the left hand menu. Scroll to the bottom and find the link for...

What are my nameservers

Not sure what the names servers are for your website's domain name? Kindly refer to the welcome...

How do I add another domain to my Account?

Some DT shared Linux web hosting plans allow you host multiple domains on the same account. To...

How do I manage my Shared hosting account?

We offer cPanel to manage your Shared Web Hosting account. You can learn more about cPanel here

How Do I Create and Remove an Addon Domain?

An addon domain is a fully functional domain that can be created from within your control panel....