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.
  • In the past, there were URLs involving hedgehog.math.arizona.edu and grad.math.arizona.edu. Those are deprecated. Do not give out such URLs.

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.)

  • Mozilla/Seamonkey Composer - you can use Composer to edit files but not to publish files since it doesn't support secure connections

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...