Making Information Available on the W3 at NIU Using This Server

Setting Up and Creating Documents


  1. User home pages are stored in the directory
    /home/www/your_loginid/public_html
  2. You may need to ask the system adminstrator to create this directory for you.
  3. If needed, change the permissions on your newly-created directory to give read and execute permissions to "group" and "other". To do this, you should execute a command similar to chmod go+rx public_html
  4. Place any HTML documents you would like to make available in this directory. You may create additional subdirectories under your public_html directory as you see fit to organize your HTML documents (be sure to set their permissions also). Without creating a directory security file, ANY files in your public_html directory that have the "group" or "other" read permission set will be served up to users, so make sure anything you place in here you want to be seen by others.

    To access a file in your public_html directory, use a URL similar to "http://www.cs.niu.edu/~your_logonid/filename.html" (note that there is no reference to the public_html directory in the URL- -the server automatically maps ~your_logonid to ~your_logonid/public_html)

  5. The file "index.html" is special, and can be referenced with the a URL similar to "http://www.cs.niu.edu/~your_loginid/".
  6. This document is not meant to be a tutorial about HTML coding itself. A good source for this type of information is the A Beginner's Guide To HTML which contains most of the basic information one needs to create HTML documents
  7. After creating a new document, be sure to change its permissions to make it publicly readable. To do this, you should execute a command similar to chmod go+r filename
  8. When you modify or create an HTML document, always check it for syntax errors using one or both of the HTML checkers available on the system in the ~www/www_root/webutils directory

Restriction, Guidlines, Advice


Other Info/Tips/Hints



<--Return to New User Info