Publishing your web page

Creating a Web Page

Some of you may be wondering how to create your own web page. Or, maybe you've tried, and are looking for some ideas about what more you can do. It's actually a pretty simple process, and in the next few minutes, I'll show you how. The first thing to do is create the actual page. This is the creative part, we'll get into the technical part a little later on. Your main page is going to be a file called index.html.  In order for a web browser, such as netscape navigator, to recognize your web page,it must be written in a language called html.

There are two basic ways to create your page. The first way is to use a web page editor. This is a computer program that will allow you to just type what you want on your page, and it will translate it into html for you. This is a very easy way to get a basic page started, and it makes it much easier to insert images and other cool things. There are several editors on the market, check with your site coordinator to see what you have. You should all have Netscape Composer, the web page editor that comes with Netscape. The drawback is that they don't always work that well. Sometimes spaces are erased, and things don't always look like they did when you saved it.

The other way to create your web page is to write it in html. It may sound hard, but html is the easiest computer language around. Check out the HTML Tutorial for a good lesson on HTML. It is quick and painless, I promise.

Well, that's the easy part. If you don't want to make a web page yet,type this into a word processor, and save it as index.html

<HTML>
<BODY>
This is my web page.
</BODY>
</HTML>

This will be your web page for the time being. Now, let's look at how to get your web page onto the internet. Before starting, make sure you are online.

Publishing your web page for Macintosh

1. Find Fetch in the applications folder of your Macintosh HD (or wherever it may be), and get it running.

Fetch is a FTP program. FTP programs allow you to trade files between two computers, such as the computer at your school and socrates.

2. Connect to socrates.

A box will pop up that says "New Connection". By the line that says host, type in socrates.math.ohio-state.edu. For username and password, type in your socrates username and password. Next, click on connect. If a window pops up with an error message, just click ok, and ignore it. In a few seconds, you should see a window with the contents of your socrates account. Whatever you do, DO NOT delete the files that start with a dot, they are very important.

3. Create a WWW directory.

Your web page must go into a directory called WWW for a web browser to be able to find it. You may already have one there. If so, just skip this part. To create this directory, click on the word directories at the top of the screen. Select new directory. Type in WWW (all caps) and click on create.

4. Putting your index.html on socrates.

Next, you need to put your web page on socrates. To do this, click on the WWW directory you just created. It should become highlighted. Next, click on the put file button on the right. Find the index.html file you created, and select it. Then, just click ok. After the little dog gets done running, your file is there, and you can go check out your web page. Your address will be http://socrates.math.ohio-state.edu/~(username).

Publishing your web page for PC's

1. Open WS FTP on your computer.

Find WS FTP in the start menu of your computer.

2. Connect to Socrates.

When you first start up, a window called session profile will pop up. You need to set it up to connect to socrates. First, click on the button New under the profile name. Type in socrates for the name. Next, type in socrates.math.ohio-state.edu for the host name. Leave the host type at auto detect. For username and password, type in your socrates username and password. You can select save password to the right if you want to save your password, but since you are sharing your computer, you should probably type it in each time. Next click on ok. After a few seconds, the contents of your socrates account will pop up on the right. On the left are the contents of the computer you are using. The windows at the top of the screen tell what directory you are in. The ones below them show the contents of that directory. Whatever you do, DO NOT delete the files that start with a dot, they are very important.

3. Create a WWW directory.

Your web page must go into a directory called WWW for a web browser to be able to find it. If you already have one there, just skip this section. To create this directory, click on the button on the right that says MkDir. For the new directory name, type in WWW (all caps), and select ok. Your WWW directory should pop up on your socrates account.

4. Putting your web page on the internet.

In order for your web page to be accessed, you must put your index.html file on socrates in the WWW directory. To do this, find your index.html file on the left part of the screen. The left side is just a listing of what is on the computer you are using. Click on the .. to go up to a higher directory from a subdirectory. When you find your file, click on it to highlight it. Next, double click on the WWW directory you created on the right side of the screen. To transfer the file, click on the -> arrow. The arrows just send the selected file to the directory on the other end, so -> sends it from you to the server, and <- brings something from the server to you.

You are done, you can now go check out your web page. Your address is http://socrates.math.ohio-state.edu/~(username).

A few hints

You can create seperate directories in your WWW folder to hold different files. For isntance, if you want a seperate directory to hold all of your pictures, you could make one called pics.

Your file names can't have any spaces, or any other wierd characters. Only letters, numbers, and -'s. They also must end in either .html or .htm.

If you have any problems,e-mail me  here, or e-mail any of the other mentors or coordinators. Good luck.


Send questions or comments to website@socrates.math.ohio-state.edu Copyright © 1998-2009, Calculus&Mathematica