Division of Information Technology
Web Publishing @ SFSU

About Web Publishing |Getting Started |Create a Web Page |Publish a Web Page |Enhance a Web Page |Advertise a Web Page |Maintain your Web Site

Publish a Web Page

After you have created and previewed your HTML document / web page you need to setup your SFSU account to deliver web pages. This document shows step by step how to use FTP to create a public_html directory and to transfer the file(s) that make up your web page to your account on the server. The file transfer programs we recommend are WS_FTP for Windows and Fetch for the Macintosh.

Official University web sites must meet the minimum requirements of the SFSU Web policies listed on the checklist.

1) Login to your Internet account. When prompted for login information, use the following:

Host: apollo or orion (Depts. use www)
Login: your account name
Password: your password
UnixUse a telnet or terminal program like kermit.
MacUse an ftp client, such as Fetch
WinUse an ftp client, such as WS_FTP. Make sure anonymous is not selected.

2) Once logged in, create a directory called: public_html

UnixAt the login server prompt (Example: apollo%) type mkdir public_html
MacFetch can be used to create directories on the Host computer. To create a directory select 'Create New Directory' from the 'Directories' menu option. A dialog box will appear that you can type the directory name public_html into. Then click OK.
WinWS_FTP can be used to create directories on the Host computer. To create a directory select the 'mkdir' button on the Remote System side of the window (right). A dialog box will appear that you can type the directory name public_html into. Then click OK.

3) Change to the public_html directory

UnixAt the login server prompt (Example: apollo%) type cd public_html
MacDouble click on the public_html directory listed in the file window, you may need to scroll down.
WinDouble click on the public_html directory listed in the on upper section of the Remote System side of the window (right), you may need to scroll down.

4) Transfer your homepage files to the public_html directory in your Internet account. Your 'webspace' can include subdirectories created within the public_html directory.

Unixmv command if your files are not already in your public_html directory. At the login server prompt (Example: apollo%) type cd, then type mv filename.htm public_html, where filename is your file's name.
MacWhen transferring the files using Macintosh Fetch you should use the text format for the text based files (HTML) and the Raw Data format for everything else.
WinFirst select the file you wish to transfer using the Local System controls (left side). Then use the arrow that points to the right to transfer your file to your account. If using Windo ws WS_FTP you should use the ascii setting for the text based files (HTML) and the binary setting for everything else. Rename the file to Welcome.htm if you would like it to be the default document delivered from your account.

5) Test your homepage using a WWW browser and the following URL as the location.

http://userwww.sfsu.edu/~accountname
(Depts. use http://www.sfsu.edu/~accountname)
(Faculty use http://online.sfsu.edu/~accountname)
(Students/Personal Pages use http://userwww.sfsu.edu/~accountname)

Remember to substitute accountname with your account's name.

Examples:
Student Account:http://userwww.sfsu.edu/~julianne
Faculty Account: http://online.sfsu.edu/~jtolson
Depts. Account: http://www.sfsu.edu/~compsvcs

UnixUse lynx, type g for go, then enter the URL.
MacUse Netscape or your favorite browser
WinUse Netscape or your favorite browser
Changes made to existing web pages may not automatically appear. You must reload before you can see any changes. If reloading does not work, consult the Netscape reloading problems page.

6) Repeat the entire process (except step 3) until you are satisifed with your homepage. Test for HTML errors using Weblint. Then advertise by:


About | Getting Started | Create | Publish | Enhance | Advertise | Maintain
Index | Glossary | Software | For more Information


SFSU Home   Search   Need Help?  

1600 Holloway Avenue, San Francisco, CA 94132 (415) 338-1111
Last modified April 12, 2002 by the Web Team