How do I setup a webpage?
In order to create your own home page, the first thing you need to do (if
you haven't already) is learn the HyperText Markup
Language (HTML), the standard language used by web browsers.
A good place to start is The HTML
Homepage or
NCSA -
A Beginner's Guide to HTML. If you need to see some practical examples,
many are readily available. Simply view your favorite web page and choose the
option View Source from the menu and you will be able to view the
source code that directly produces the web page.
Once you have created your home page, you should name it index.html and do the following:
- Make a directory called .www in your home directory. Use mkdir .www
- Change the permissions of the directory to allow HTTP access. Use chmod 711 .www
- Ensure that the permissions of your home directory are also 711.
- Copy all relevant WWW files (HTML code and graphics) to your .www directory.
- Change the permissions of all files in .www to 644. Use chmod
644 filename
- Change the permissions of all directories in .www to 711. Use chmod
711 dirname
- Use the command ls -l to check the permissions of your files and
directories. You should see -rw-r--r-- on the lines with your files and
drwx--x--x on the lines with your directories.
Having gone through the above steps, you should then be able to access your
home page with a web browser with the URL
http://math.ucr.edu/~username, where username is
your login name.
Last Modified on 21 Jan 2001