This article explains the structure of a users home directory/web space on a Unix hosting account.
This article applies to Unix Shared Hosting, Unix Reseller accounts and Unix Dedicated Servers.
Your UNIX hosting account has a home directory in which you store your site content. When you log into your account using FTP you will be placed within your home directory. You should upload the pages, images and files that make up your site to this directory.
Within your home directory is a folder called cgi-bin. This folder is used for storing any CGI Scripts you wish to use on your account.
Path To Your Home Directory
You may need to reference the path to your home directory in your scripts. The full path to your home directory is based on the username of the hosting account. The full path to the home directory for a hosting account with the username joebloggs would be:
joebloggs being the account username and j and o the first and second characters of the account username. You must substitute joebloggs, j and o with the correct values according to the username of the hosting account.
Please note: When your account is accessed via the SSL secure server, the full path to your home directory will be different.