Error Forbidden 403 After Cloning to Subdomain

​Did you create a staging site in a subdomain, and you got the error below?

Forbidden

You don’t have permission to access this resource.

When this happens, check first if your subdomain works as intended and that the subdomain is linked to an existing path on your server.

Also, check that it has the correct read permissions. File permissions 755 on that folder should be ok.

You can test it by uploading a file named test.txt with the content “test” to the root of the subdomain folder. Then open it from subdomain.example.com/test.txt

If it does not open, and you still see the error, you’ll need to resolve the folder permission or need to make sure that the subdomain is correctly linked.

Do you still need help with it? Get in contact with us.

Updated on September 7, 2021