The best way to start is to read a few tutorials in HTML. Some of the best ones I have found are at Webmonkey but you can also visit the W3C’s tutorials if you want to get things really right. Don’t forget there’s also a section in TFM on creating Web pages, so go check it out.

Create a directory public_html in your home directory and ensure everyone else can access it with the following Unix commands:

mkdir ~/public_html
chmod 755 ~/public_html
chmod o+x ~

Create the file index.html unless you want the web server to generate an index of your files everytime your directory is accessed.

Make sure you make your file world-readable with:

chmod a+r index.html

Remember any other files you want other people to see should also be world-readable.

Test your new “home page” from within a Web browser (such as Mozilla, Internet Explorer, Safari, lynx, links, w3m, etc.) by opening the following URL:

http://www.progsoc.uts.edu.au/~username

where username is your own login name.


When updating this page in May of 2003, I discovered a piece of Web history was being kept here, and as the links all still work, I have left it below. – Catie Flick, May 2003.


1: Read the NCSA primers `A Beginner's Guide to HTML' and `A Beginner's Guide to URLs'.

You might also like to read the CERN `HTML Style Guide'

Better yet, why not read the chapters on creating a web page in TFM vol II (you did get your copy didn’t you?)

2: Create a directory public_html in your home directory and ensure everyone else can access it with the following Unix commands:

mkdir ~/public_html
chmod 755 ~/public_html
chmod o+x ~ 

[ actually, these are csh commands, if you’re using a different shell, you’re expected to understand the above and do it your way. ]

3: Make sure the web server is able to access your home directory:

chmod 755 ~

4: Change to this directory and start creating the HTML pages you want to be made available. The Unix command to change into this directory is:

cd ~/public_html

5: Create the file index.html unless you want the web server to generate an index of your files everytime your directory is accessed. Make sure you make your file world-readable with:

chmod a+r index.html

Remember any other files you want other people to see should also be world-readable.

A very minimal possibility for this file’s contents is included below, the primers listed in the first step should be consulted for more information.

<HTML><HEAD><TITLE>
The Title of this Page
</TITLE></HEAD><BODY>
The body of this page, marked up in 
<A HREF="http://www.socs.uts.EDU.AU/MosaicDocs-old/html-primer.html">HTML</A><P>
</BODY></HTML>

6: Test your new `home page’ from within Mosaic (or another Web browser) by opening the following URL (Within Mosaic, select Open URL... from the File menu)

http://progsoc.org/~username

where username is your own login name.

 
website_creation.txt · Last modified: 2006/06/07 01:50
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki