The University of Tennessee
A-Z Index  /  WebMail  /  Dept. Directory

Office of Information Technology

Search OIT    Contact Us    Site Map    Policies   

OIT Support Lines 8:00AM - 5:00PM Monday-Friday
Phone: (865) 974-9900
Walk-in Consulting in The Commons - Helpdesk Contact Form

WWW Help:
How to Make a Web Page

Introduction
UTK's UNIX users can create documents in their home areas that are accessible through the World Wide Web, a hypertext multimedia protocol. These documents are made available through a WWW server at the address: web.utk.edu. Through these hypertext documents, users can make text, images and sounds available to users throughout the Internet.

Creating The Page Automatically
To create a home page, you must create a new directory in your home area called "public_html" and a file in that directory called "default.html". Execute the setup command make_wwwhome, the directory and file will be created for you with the correct access permissions automatically. This file will contain examples of how to use hypertext to format text and create links to other documents, images, sounds and so on. If you do not wish to use this script, follow the tips below for manually creating the required files.

Creating the Page Manually
To allow the WWW server to read files in your home area, enter the command chmod 711 ~userid replacing "userid" with your UNIX username. You must also create a directory called "public_html" in your home area with group and world permissions for reading and execution. To do this, go to your home directory using the command cd and execute the command mkdir public_html to create the directory, next set the permissions by typing: chmod 755 public_html.

Editing The Page
Now that the directories are setup it is time to start to edit that first page. To do that change into the new directory cd public_html and edit the file default.html. The file, default.html, is the one displayed when someone goes to http://web.utk.edu/~username. Any text editor will work to edit your HTML files, examples include pico, emacs, vi, dtpad. If you wish to create your web pages on a PC FTP them into the public_html directory when finished. Help with FTPing can be found here.

Getting To Your Page
Once your page is created, users can access it via any hypertext browser at the URL: http://web.utk.edu/~userid. Userid being your UNIX username.