Publishing Personal Webpages

You can publish webpages both on the public internet and on the department-only intranet.

Basic facts:

  • You must have a network account.
  • Your public website address is:
    http://math.arizona.edu/~youraccountname/
  • Your department-only intranet website address is:
    http://intranet.math.arizona.edu/~youraccountname/
  • Inside your network account, the directory pub_http_internet contains your public website.
  • Inside your network account, the directory pub_http_intranet contains your intranet website.

Using GUI editors:

You can use various GUI tools to create/edit HTML pages. Information about certain such tools appears below. (If you need information about a different tool, please contact us.)

  • Nvu- Free Web Authoring Software -you can use to edit files

Creating the appropriate directories:

  • Note: new accounts will already have the necessary directories.
  • To get started: in your puma/gila home directory, use the following commands to create the folders and give them and your home directory appropriate permissions:
    cd
    chmod go+x-rw .
    mkdir pub_http_internet
    mkdir pub_http_intranet
    chmod go+x-rw pub_http_internet
    chmod go+x-rw pub_http_intranet
    
    Note: the chmod commands above will also prevent other users on our system from perusing your home directory, which is generally a good idea. However, other users can still access files/directories if they already know the name. To further secure your account, you can remove read permission for all files in your home directory:
    cd
    chmod go-rw *
    
    You will have to repeat this step each time you add a file to your home directory. (An alternative is to create a subdirectory, e.g., “private”, and put all your personal files in there.)
  • Inside each of those folders, create a file called index.html, which might contain:
    <html>
    <body>
    My first web page.
    </body>
    </html>
    
    After saving the file, ensure it has public read permission:
    chmod go+r index.html
    
  • To test, point a web browser to your new websites, replacing "accountname" with your account's name:
  • Beyond this, you are on your own. Many books and web pages will help you learn more about HTML, CSS, XHTML, and so on...

Department of Mathematics
The University of Arizona
617 N. Santa Rita Ave.
P.O. Box 210089
Tucson, AZ 85721-0089 USA
Voice: (520)621-6892
Fax: (520)621-8322

http://math.arizona.edu
Maintainer: webmaster@math.arizona.edu
Validate: XHTML, CSS

© Copyright 2003-10 Arizona Board of Regents
All rights reserved.