A secure home for your next big idea. Explore hosting →

Knowledgebase / Domains and Security

How to Diagnose a 403 Forbidden Website Error

A 403 response means access was refused. Identify which layer refused the request before changing permissions or security rules.

Prerequisites and first observations

Record the exact URL, time and timezone, response text, and whether you were signed in. A protected administration route can correctly return 403 to an unauthorized visitor. Confirm that the requested resource is intended to be public before treating the response as a fault.

Website owners need access to application logs, hosting error logs or the relevant security dashboard. Visitors can report the evidence without attempting to bypass the restriction. Take a protected copy of configuration before changing it.

Step 1: Locate the refusing layer

  1. Compare the homepage, one known public page and the affected URL.
  2. Test a signed-out session where the resource is meant to be public.
  3. Inspect any request or incident identifier on the error page.
  4. Correlate that identifier and timestamp with CDN, firewall, web-server or application logs.

A branded CDN error may involve a security rule, while an application-styled access message may come from account permissions. Appearance alone is not proof: use the logs. If only one office network is affected, include that detail privately when asking support to check a block.

Step 2: Check the document and route

Confirm that the domain maps to the intended document root and that an index file exists where a directory URL is expected to load a homepage. A server may deliberately refuse directory listings when no index is present. Enabling directory browsing is usually not the right solution.

For a CMS route, verify publication status, role requirements and access-control plugins. A private article should not become public merely to remove an error. For an uploaded file, check that its URL points to the approved public location.

Step 3: Review permissions and rules narrowly

Ask the host for the expected ownership and permissions for its execution model. Compare only the affected file and parent directories against that baseline. Do not recursively make a site writable by everyone or use chmod 777 as a general fix.

Inspect recent .htaccess changes, deny rules, password protection and hotlink restrictions. Back up the file before correcting a verified rule. Preserve application rewrites and unrelated security restrictions. On managed hosting, ownership repairs may require the provider.

If a WAF rule is a false positive, identify the rule and request pattern. Test a narrowly scoped exception through the supported security controls. Disabling the firewall globally removes protection from unrelated routes and obscures which rule caused the failure.

Verification and troubleshooting

Repeat the original legitimate request and confirm the expected page or file loads. Also check that a deliberately private resource remains private. Test an ordinary visitor session after clearing only the relevant cached error where necessary.

If the error persists, provide support with the URL, time, request identifier and the smallest reproducible sequence. Exclude passwords, session cookies and private file contents. A successful repair restores intended access while retaining restrictions on administrative and private resources.

Frequently asked questions

Should I set permissions to 777?

No. Use the hosting-specific ownership and permissions baseline for the affected resource.

Can a missing index file cause 403?

Yes, when directory listings are disabled. Restore the intended index rather than exposing the directory.

Is every 403 a firewall problem?

No. Applications, web-server rules and file access can also refuse a request.

Related guides and hosting options

Compare server management against your application requirements. Confirm available tools and management responsibilities for your own account. For account-specific help, open a private support ticket with the domain, time and relevant redacted error.

Official references