All of your website files should be put into the "public_html" directory in your document root. If you put them outside of this directory, the web server will not be able to see them which means neither can your visitors.
Inside the "public_html" directory you will find your "cgi-bin" which is where CGI and Perl scripts should be uploaded, you need to upload cgi/perl scripts in ASCII mode.