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.