Web Sites and Their Organization

 
[prev][home][next]
 

A Summary To Here
  • The Web is all the information we can get to on the Internet (sort of),
  • this information consists of files that are located on a Web server, and we can get the information using a browser from any client computer (We think:
    request -> server response -> browser display.
    )
  • These files are handed out by a Web server, and are files in a special Web documents directory (folder) on the server's hard disk.
  • the files on the Web are easy to make (though we haven't talked about this yet), with word processors, or with Web editors. (Ok, there are also image files, digital video, music..., but we'll get to those later...)
  • All we have to do is put them together in a Website, and put them on a server: and then we have a page on the Web that anyone can get to!

Building and Maintaining Web Sites
Our Web site will be all files and directories below a top-level, "root" directory. This is located in the server's Web documents directory.

In some cases we have direct access to the Web server, and so can work directly with this top-level directory, adding files to our Web site there.
As we work on our pages (and especially once the Summer Teaching Institute is over!), however, we won't have direct access to this directory, and so will maintain a local site which has all of the same files and directories as the Web site on the server. When we add files to the local site (or change them) , we then upload (transfer) them to the server so that they can be accessed on the Web. This allows us to develop the site off-line and then maintain the site when we get back on-line.

Building a Web Site
We will be building our "local" (sort of) site in a home directory on the Wesleyan file server exodus: If you haven't logged in to a computer yet, do so now. This will automatically connect you to your home directory on exodus.

applemenu image In general, to connect to file servers on the network from a Mac, we use AppleTalk:
Select Chooser from the "Apple Menu" (figure to right). Then

  1. Select "AppleShare"
  2. Select "MACNet" from "AppleTalk Zones"
  3. Select "exodus" from "Select a file server"
  4. Click "OK"
  5. Enter your username and password
  6. Click "OK"
  7. Click on "home"
  8. Click "OK"
  9. Close the Chooser by clicking the little box at the upper left of its window bar.
website pic For the purposes of your Web site, you want to end up with something that resembles the figure to the left: "YourHome" is your home directory (folder) on the server, and in that is a "website" directory (imaginatively called "Web site top directory" in the figure), which contains all of the files that will be part of your Web site.

Note!   (1) Don't put files that are not part of your Web site in your Web site directory. Anything that is in your Web site can be grabbed by anyone in the world. (mostly.)
(2) Files in the Web site directory are organized by directory, in this case with images being put in an "images" directory and other HTML files put in the top-level Web site directory. As we built the site, we might choose to add more folders for files having to do with different topics.
(3) We develop our Web sites in these "local" directories, and then upload them to the Web server's Web documents directory. (Which we'll learn about shortly...)


Important Stuff
  • Our Web site will consist of all information in a Web site directory in a home directory on the server "exodus,"
  • To maintain the Web site we will work with files in this directory, and
  • After that, we'll upload them to the Web documents directory on the server (in a manner to be explained).
  • We Should Always think about maintaining an orderly site with subdirectories. (Why?, you ask? Consider: a complicated Website)


Gavin's HHMI 02 Web Workshop: WebSites
Last Modified: Thu May 30 13:00:02 EDT 2002
Comments to glarose@umich.edu
©2002 Gavin LaRose, UM Math Dept