Intro to Web Publishing

Publishing your HTML document

Publishing = storing the file where a web server can read it.

Your hard disk Your Unix account
C: home directory
Program Files mail
Documents public_html
test.htm index.html
termpaper.doc  

The first time you publish a page it's a two-step process, since you have to create the public_html directory.

One you have your directory, publishing new pages or updating old ones just consists of putting files in the public_html directory!

Exercise: upload the demo web page you've created to your web site.

For example, using WS_FTP to upload files:

  1. make sure the HTML document is stored in a file on your local hard disk and has a valid Unix filename and extension (typically something.html or something.htm)
  2. launch WS_FTP. On the "session" menu set:
    Host name: darkwing.uoregon.edu (or gladstone)
    User ID: username
    Password: yourpassword
  3. (one time only) Click the MkDir button on the remote (right) side, and type "public_html".
  4. In the right-hand window, find the localdirectory containing your html file.
    In the left-hand window, click on "public_html".
    Select "Auto" or "ASCII"
  5. click the "->" button to transfer the file. Upload images along with the master HTML document (select "BINARY").
  6. Click "Exit" to quit WS_FTP.
  7. view your file at
       http://libweb.uoregon.edu/~username/something.html


Managing/changing your web pages