Home . Website Hosting . Email Hosting . Chat Software . Forum Hosting

Getting started

First some notes:
  • Domain names are not case sensitive, but the directory and file names are. So http://domain.com/FILE.HTML is not the same as http://domain.com/file.html. It's best to always use lowercase.
  • Always transfer files in text only (or ASCII).
  • It is best to name your Home Page: index.html or index.htm
  • Never delete files that have _ or . in front of them unless you really know what you're doing.

    Account Directory and File Structure: Every customer gets his/her own password protected userid which is needed to access the server. By logging in with the userid, the customer gains access to their web storage space. Every userid "owns" a structure of disk subdirectories in the file system. The "root" of this structure is the "home" directory, found at path "/usr/home/userid".

    Inside the home directory is a subdirectory named www. Files placed in "www" are visible to browsers like Netscape and Internet Explorer. (When you FTP to your account, you are "logged in" to your www subdirectory.)

    Now that we know where the files have to be located in order to be visible on the Internet, just how do we put the files there? Although there are several ways, the most common are FTP and SSH.

    The filename of your home page should be index.html. The web server will automatically send the file at path /home/userid/www/index.html when a browser specifies http://your-domain.com or http://www.your-domain.com. This means, when people go to your domain name, the first thing they'll see is your index.html page.

    Your main web site file does not have to be index.html, but that is the first filename that the server looks for. Below is the search order for the 'Default Index' file:

    index.html index.htm index.cgi index.shtml index.php index.asp

    NOTE: In order to use index.php you need make sure that no index.html, index.htm, index.cgi or index.html file exists!

    One last thing : Log files are stored at /www/logs/: /www/logs/snoopy-access-log for snoopy.com's access log, in fact.

    Recap-
    Home directory: /usr/home/username/
    WWW Public HTML directory: /usr/home/username/www/


  • © Online Institute - Return to Help Guide Home