|
Every customer gets his own password protected user id under Linux. By logging in with his user id, the customer gains access to his/her web storage space. Every user id "owns" a structure of disk subdirectories in the Linux file system. The "root" of this structure is the "home" directory, found at path: /home/userid When you FTP to your account using your domain name and user id, you don't need to put in /home/userid You will automatically be directed to the user name directory of your account. public_html Inside your user directory are many files and other sub-directories. The most important one is named "public_html". Every customer has his own separate "public_html" subdirectory. Files placed in this directory are visible to remote browsers across the Internet, so this is where you want to place all your html documents, graphics, sound files, etc. which you want people to be able to access from the world wide web. For example, when a browser asks for the URL http://yourdomain.com/page.html, the web server looks for the file: /home/userID/public_html/page.html and sends it out to the browser. For the benefit of similarity to our old system we have also placed a "domainname-www" and a "www" link in the user directory which are short cuts to "public_html". Files uploaded to any of these are not duplicated, they will all end up in the "public_html" directory.
|