Frequently Asked Questions

FAQ / General

403 Forbidden error, how can I fix it?

The 403 Forbidden error is an HTTP status code indicating that access to the requested resource is denied. This typically happens due to permission issues or server misconfiguration. Below are the three most common causes and their solutions:

1. Incorrect Directory Setup

Ensure your website content is uploaded to the correct directory on the server, such as the httpdocs or equivalent public folder for your hosting provider. Verify the directory structure to avoid misplacement.

2. Missing or Misconfigured Index Page

The web server looks for a default index file like index.html or index.php to serve as the homepage.

If missing: Upload an index.html or index.php file to the root directory.

If renamed: Rename your main file to index.html or index.php.

To redirect: If your main file is named home.html, you can create an index.html to redirect visitors.

3. Permissions and Ownership Issues

Files and directories must have the correct permissions and ownership to be accessible by the web server.

Standard permissions:

Folders: 755 (read, write, execute for owner; read and execute for group and others)
Static files (e.g., HTML): 644 (read and write for owner; read-only for group and others)
Dynamic files (e.g., scripts): 700 (read, write, execute for owner only)

By addressing these issues, you can resolve the 403 Forbidden error and ensure proper access to your website or application.