Using cpanel on my hosting account, I created a subdomain - e.g. www.clothing.mysite.com
A cgi-bin folder was automatically created in the directory for clothing.mysite.c
cgi-bin historically was the only place where executable or script code (binaries, shell scripts, etc.) could be stored. It is mostly a historic relic since most hosts allow execution of scripts from anywhere.
cgi-bin