In your HTML documents, reference your CGI script with the following path:
http://www.yourdomain.com/cgi-bin/script
Where "yourdomain.com" is replaced with your domain name.