I'm getting a 403 Forbidden error when visiting my subdomain

Linode Staff

My subdomain is showing the following error message:

403 Forbidden
You don't have permission to access / on this server.
Apache/2.4.18 (Ubuntu) Server at www.tv.releaseorder.com Port 443

I've already updated my apache2 conf file to read:

Require all granted
AllowOverride None

What is wrong?

1 Reply

A 403 Forbidden error could happen for a few reasons, but after doing some research, it seems like it's most likely due to a permissions issue.

The first thing you should do is check your Apache logs to see if there are any errors that stand out. Here are a few common locations for these logs:

/var/log/apache/access.log
/var/log/apache2/access.log
/var/log/httpd/access.log

You can also try locating these by running:

locate access.log

or

locate access_log

In terms of permissions, I was also able to find a really great Stack Overflow post reviewing multiple permissions settings, including some syntax variations to try with your apache 2 conf file:

Error message “Forbidden You don't have permission to access / on this server” [closed]

Hopefully this points you in the right direction!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct