Making a Web Page for
Teaching, Research or Others
A note on making web page, by Andy Chang
(3/4/2003)
To apply for an Unix1 account, click here to the application form for submitting
application.
Creating a directory in your unix account for making home page.
This unix account can be an account created in as.ysu.edu (college of arts and sciences) or cc.ysu.edu (Unix1) or cis.ysu.edu (CIS) at YSU. First, you need to perform the following basic steps to setup the unix account for creating a home page.
Step 1: You need to telnet to your unix account.
To do this:
Step 2: In your unix account, create a directory and make it universally accessible by executing the following unix commands (this step can also be done by entering "makehp" command):
> cd $HOME
>
chmod a+x $HOME
>
mkdir public_html
>
chmod 755 public_html
Anything you put into this $HOME/public_html directory will be readable by anybody if the file permissions are correctly set.
Step 3: To set up file access permission. In your public_html directory, run
> chmod a+r *
It may not be fully working until you relogon to your account.
Creating a homepage file (From now on, web server means your cc.ysu.edu account or as.ysu.edu account.)
First, you need to create a file called "index.html" or “index.htm” which is your homepage file. This index.html file needs to be created and stored in the public_html directory. You can do this by using MS-WORD (or Netscape Communicator or some of the word processors that allow you to save file in HTML format) on your PC to create this file, and then FTP it to the public_html directory of your unix account. You can also make html files by using your favorite text editor on UNIX such as "pico" or with using "pine", or "ee" or "vi" if you know how to use those editors and also know the html language.
To make the index.htm file with MS-WORD (or any other html files)
To use this index page on the web, you need to upload this index.html file in the public_html directory of your web server account (see next section for information on uploading this file to the web server), your web page address will be
http://www.cc.ysu.edu/~your_username
(for unix1 account)
or
http://www.as.ysu.edu/~your_username (for as.ysu.edu account)
or
http://www.cis.ysu.edu/~your_username (for cis.ysu.edu account)
For example: My unix1 account
id is ghchang therefore my web address is: http://www.cc.ysu.edu/~ghchang
To upload index.htm file to unix1
It is highly recommended that you use a windows ftp software to up or down load files. You can up or down load files by just simply clicking on few places in the FTP software window. WS-FTP is a free ftp software (for academic) to down load.
If you have a windows ftp WS-FTP software then you can use WS-FTP to upload files to the web server. This is the better way to upload and download files to or from web server.

* If you don't have a windows ftp software then you can use ftp command (for Windows operating system, the procedure is the same as telnet procedure mentioned earlier except that you enter "ftp" instead of "telnet").
Create a link in
WORD document or the Web Page
For instance, you typed a phrase in your WORD document and wish to create a link with this phrase in your WORD document:
Step 1: Highlight the phrase by click and drag the mouse to cover the whole phrase and then click Hyper-Link button as indicated in the following picture.
![]()

Step 2: After clicking Hyper Link button, you should see a windows dialog box appear on the screen. You need to enter the web address for the information to be linked. For instance, if you wish to create a link to Andy Chang’s web site, then enter Chang’s web site address, http://www.cis.ysu.edu/~chang/, in the Type the file or Web page name: box as show in the following picture. And, then click OK.

In your WORD document, you will find out that the phrase that you selected is underscored as in the following picture. This means that you have created a link with the phrase, Create a link to Chang’s Page, to link to Andy Chang’s web page. In fact, if you click on this link in your MS-WORD document, it will take to Andy Chang’s web page on Internet (if your word processor and web browser are setup to do so). To make this page work on the Internet, you need to save the file as a web page file and upload it to your web server that will be your cc.ysu.edu account.

The same way you can create a link to any document stored in the web server, such as .pdf, .doc, .gif, .jpg, .txt and other formats.
The Web Address
for a document in your web page account
If I have a document file with a name Exam_dis.doc in my public_html directory (on the server) then the link address to this file would be: http://www.cc.ysu.edu/~ghchang/Exam_dis.doc
http://www.cc.ysu.edu/~ghchang will work like the root directory of the files and directories in my web server.