All domains show 403 Forbidden in Plesk: You don't have permission to access

Started by Suhitha, Sep 04, 2025, 03:39 AM

Previous topic - Next topic

Suhitha

Question: All domains show 403 Forbidden in Plesk: You don't have permission to access


Symptoms

  • All websites hosted in Plesk are not working:
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Or, the blank page is shown instead of content.

  • The domain's error log in Domains > example.com > Dashboard > Logs contains the following:

(13)Permission denied: /var/www/vhosts/example.com/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://example.com/
(13)Permission denied: [client 203.0.113.2:39024] AH00529: /var/www/vhosts/example.com/httpdocs/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/vhosts/example.com/httpdocs/' is executable

Cause

Apache service does not have proper permissions to vhost or httpdocs folder.


Resolution

Fix Apache user permissions:

              For Debian

  • Connect to the Plesk server via SSH.

  • Find the username that is used by the Apache service. This username is defined in the APACHE_RUN_USER variable in /etc/apache2/envvars:
#grep APACHE_RUN_USER /etc/apache2/envvars
export APACHE_RUN_USER=www-data

Add that user to the psaserv group. For example, if the Apache user is www-data, you would add the user in the psaserv group as below:

# usermod -a -G psaserv www-data
  • Restart web server

# service apache2 restart