While creating new subdomain from cPanel we are missing cgi-bin directory. At that time refer following steps.
Login in to WHM and check the domains hosting account package allow “CGI Privilege” or not. If not then enable “CGI Privilege” by editing packages.
WHM >> Account Functions >> Modify An Account and select the user from list and check box following option.
CGI Privilege
And save the package. Now you will able to creaet subdomain with the cgi-bin directory.
Note : As well as plesae set “Y” in WHM >> Main >> Server Configuration >> Basic cPanel/WHM Setup >>CGI Script Alias section.
——————
CGI Script Alias * Automatically create a cgi-bin script alias. This setting can be individually overridden during account creation.
- y – Yes
- n – No
——————