Get yourself to a UNIX Command Line, in your Home Directory. Usually, this means logging in to a Server, and starting a telnet client.
Make a subdirectory of your home directory named "public_html". This is where you will keep your HTML files, so the server software can find them to show to other people. Note that this directory name is case sensitive. The following four UNIX commands show Current Directory contents before and after creating the new directory, then make it the new Current Directory.
| >ls >mkdir public_html >ls >cd public_html] |
Now we can create HTML files which are accessible to the world. We'll use pico, a UNIX text editor which is fairly easy to use.
| >pico |
Enter the following simple HTML File:
| <HTML> This HTML stuff is very very hard! </HTML> |
Save the file (type "s", then enter the name for your file, myfile1.html, and hit Enter) and Exit pico.
Now we can look at the file as we would any other Website. Fire up your browser, and point it at:
Well, actually that's tricky. The URL for your page depends on exactly how your server is set up. But for any particular Server, the answer is consistent. For most ASIS users, the URL is:
| http://www.asis.com/~username/myfile1.html |
Where username is of course, your user name. Note the tilda (the "~").