|
The Directory Structure
When logged into your ftp account, you will see several directories. If you set your ftp software up correctly you should be inside your httpdocs directory.
<-----------------------------------
Inside of the main directory "httpdocs" you will find several subdirectories. Files in the httpdocs directory are publicly available over the Internet. This is where you upload your webpages.
------------------------------------------>
The "Home" Page
The file name of your home page within any directory needs to be index.html, index.htm or index.php. Apache will automatically send the file /var/www/vhosts/yourdomain.com/httpdocs/index.html when a browser requests http://yourdomain.com
The "CGI-BIN"
"CGI" stands for "Common Gateway Interface", another name for programs running on the web server that can be invoked from a public page at the browser. The "bin" part alludes to the binary executables that result from compiled or assembled programs. It is a bit misleading because CGI's can also be Unix shell scripts or interpreted languages like Perl. Every hosting account comes with it's own personal CGI-BIN.
|