PHP not working on subdomains
Posted by zz-James Moir on 21 June 2016 04:07 PM


When you create a subdomain in Plesk, such as, and try to access a PHP page on this subdomain the following error is displayed:


You do not have permission to access this document.

Web Server at


The problem occurs because some services are not enabled for the subdomain. Net24 runs PHP under a suexec environment with FastCGI, therefore it is necessary to enable both CGI and FastCGI as well as the PHP option.

You can check these options in Plesk by going to ' > Subdomains', then click on the subdomain to display the Manage subdomain page. The screenshot below shows the options which should be enabled to allow PHP to function correctly.