Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

Domain shows 403 Forbidden error after using Move Domain feature: You don’t have permission to access / on this server

 
403 forbidden errordomainshostinghtaccesshttps

Symptoms

  • Plesk Obsidian running on a Linux-based operating system

  • The domain example2.com shows the following error message after moving it to another subscription (example.com) via Domains > example2.com > Move Domain:

    403 Forbidden
    You don't have permission to access / on this server.
    Server unable to read htaccess file, denying access to be safe

  • An error that is similar to the following appears in Plesk > Domains > example2.com > Logs:

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

  • A file system check via the plesk repair fs example2.com command provides output that is similar to the following:

    There is incorrect ownership on some items in the WWW root directory of the domain 'example2.com' ........................................... [ERROR]
    - Incorrect group of /var/www/vhosts/example.com/example2.com/httpdocs:
    expected is psaserv (1002), actual is psacln (1003)

  • The ownership of the directory that is designated as a Document Root for the domain for the domain was changed after the website was moved:

    # ls -ld /var/www/vhosts/example.com/example2.com/httpdocs/
    drwxr-x--- 2 user psacln 4096 Sep 2 09:16 /var/www/vhosts/example.com/example2.com/httpdocs/

    Note: The psaserv group is expected for this directory instead of psacln.

Cause

Incorrect permissions or ownership for the httpdocs directory of the example2.com domain and its contents

Resolution

Repair the permissions and ownership for the affected domain by following these steps:

  1. Connect to the server via SSH

  2. Execute the following file system repair command:

    # plesk repair fs example2.com -y

Click on a section to expand

Alternatively, follow these manual steps

1. Log into your server via SSH

2. Find the system user tied to the affected domain by executing the following command:

# plesk db "select name, login from domains join hosting on domains.id=hosting.dom_id join sys_users on hosting.sys_user_id=sys_users.id" | grep example2.com

The expected output would be similar to the following:

# root@server:/var/www/vhosts/example2.com# plesk db "select name, login from domains join hosting on domains.id=hosting.dom_id join sys_users on hosting.sys_user_id=sys_users.id" | grep example2.com
| example2.com | exampl2 |

3. Correct the ownership of the /var/www/vhosts/example.com/example2.com directory by using the system user while executing the following command:

# chown exampl2:psaserv /var/www/vhosts/example.com/example2.com

4. Enter the directory by executing the following command:

# cd /var/www/vhosts/example.com/example2.com

5. Set the correct permissions and ownership for all directories and files within that directory by executing the following commands:

# find . -type d -exec chmod 755 {} ;

# find . -type f -exec chmod 644 {} ;

# find . -type d -exec chown exampl2:psacln {} ;

# find . -type f -exec chown exampl2:psacln {} ;

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

Securing the WordPress Frontier with WP Guardian

Read More »

Introducing WP Guardian Vulnerability Protection: Now available for WP Toolkit

Read More »

Your Complete .htaccess Guide: Including .htaccess Basics and More

Read More »
Knowledge Base

Domain shows 403 error after using Move Domain feature: Forbidden You don’t have permission to access / on this server.

Read More »

[BUG] Unable to start or restart Apache after uninstalling Roundcube in Plesk: Could not open configuration file roundcube.htaccess.inc No such file or directory

Read More »

Unable to import site: Unable to locate the document root directory of the website

Read More »

 An operation fails in Plesk: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘X’ for key ‘PRIMARY’

Read More »

Hosting Wiki

  • Server Redundancy
  • Linux Containers
  • htaccess
  • Bare Metal Server
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • Domain
  • Hosting Control Panel
  • Plesk
  • Web Server
  • DNS Server
  • SSH
  • Colocation Hosting
  • Reseller Hosting
  • Cloud Hosting
  • VPS Hosting
  • Dedicated Hosting
  • Shared Hosting
  • Free Hosting
  • Managed Hosting
  • HTTP
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family