Home » Hosting Encyclopedia » Web Terms » CGI-bin directory

CGI-bin directory

CGI stands for Common Gateway Interface. It is commonly used for running scripts and programs such as creating search forms or simple chat boxes or when your web site needs to communicate with a database and return the result in HTML format. Historically, CGI-bin directory was the only directory on which these scripts were stored and running on.

Web Hosting with CGI-bin

Another good feature of CGI is that if you have serious experience with programming then you can write your own script. The most common language for CGI programming is Perl, although you can use any programming language including PHP, Java, Visual Basic or C++. Although it may sound like a program you should remember that CGI is not a program – it’s just an interface between the web server and the web page on the browser. That’s why CGI-bin has an essential role in every high-quality web site. Every Apache hosting has a CGI-bin directory on which all CGI scripts (you will recognize them with their .cgi extension) should be placed. Here at Zettahost, you can get a CGI hosting with each of our web hosting plans, including the free one. You will also get access to over 2500 Perl scripts. If you sign up with us you will not see a CGI-bin directory. The reason is that you can place your CGI scripts to run in any directory from your web hosting account. Therefore with Zettahost, the CGI-bin directory is no longer necessary to maintain the dynamic content of your web sites.

Was this article useful?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Newest Articles:

KVM

What you need to know: KVM (Kernel-based Virtual Machine) is a virtualization technology that is free, open-source, and available in most modern Linux distributions. Thanks to it, you can create and run Linux and Windows-based virtual machines that are independent of...

Second Level Domain (SLD)

The Second Level Domain or SLD is essential to the hierarchical Domain Name System. It is the second part of the full domain name after the Top Level Domain, on its left side. The Second Level Domain is often the same as the website name, the company, or the...

Top-Level Domain (TLD)

The Top Level Domain name (TLD) is the last or right-most fragment of the domain name. The parts of the domain name are separated with dots and form their own hierarchy in the Domain Name System (DNS). There is a Top-Leveл Domain list where you can see all available...

IANA

What is IANA? Although the Internet is not really a centralized system, there are some key infrastructure elements that need to be coordinated. The Internet Assigned Numbers Authority (IANA) is an organization that was founded in 1988 by the government of the U.S.A....

ICANN

What is ICANN? ICANN is an abbreviation from Internet Corporation for Assigned Names and Numbers. It is the non-profit organization that’s responsible for the assignment and coordination of unique Internet addresses and names for all devices connected to the Internet,...

Ready to Create Your Website?