Netops
SCILS, Rutgers University

Setting up your account for ~ web page

In order to share your personal Web pages with the rest of the Internet community, they need to reside on an Internet host running a Web server (also called an HTTP server or HTTP daemon). Many students and staff find it convenient to store their pages within the home directory of their Unix based Eden or SCILS account, which is permitted provided the user does not exceed his or her disk quota.

Web pages must be located in a subdirectory named public_html beneath the home directory, and specific permissions must be set for one's home directory, the public_html directory, and any publicly accessible files in the public_html directory. Below are step-by-step instructions on how to set up Web pages on your account.

1.                   Use telnet or some other remote login application to log in to your account.

2.                   If you are not already there, change to your home directory by typing the following command at the Unix shell prompt:

cd <enter>

3.                   Now you can see what's in your home directory by typing:

ls -l <enter>

If your account was created recently, you should find a directory underneath your home directory called public_html. If you do not see a public_html directory underneath your home directory, you will need to create it yourself by typing the following command at the Unix shell prompt:

mkdir public_html <enter>

4.                   Put your HTML files and related files (images, sounds, etc.) in your public_html directory.

Note: If the files are currently on your desktop computer or some other machine, use an FTP client to move them to your account. When transferring HTML files via FTP, be sure to set the transfer mode to ASCII. When transferring image, sound, or other binary files, be sure to set the transfer mode to binary.

5.                   Before any one can access your web page, the permissions have to be set. Use the following command to set permissions:

chmod 755 public_html

To learn more about permissions see the Basics of Unix document.

6.                   Your Web pages are now ready to show off to the world, but first you must tell people how and where to access them. This is normally done by sharing the WWW address of your page, also called a Uniform Resource Locator or URL. The syntax for specifying the URL of the files on your account is as follows:

If your webpage is saved as index.html then use:

For Eden: http://www.eden.rutgers.edu/~your_login_name

For SCILS: http://www.scils.rutgers.edu/~your_login_name

If your webpage is saved as a specific file then use:

For Eden: http://www.eden.rutgers.edu/~your_login_name/filename

For SCILS: http://www.scils.rutgers.edu/~your_login_name/filename

where your_login_name is replaced with your actual login name you use to access your account, and filename is replaced with the filename of the Web page you want people to access.

7.                   Test your setup by trying to access your pages with a Web browser like Netscape or Internet Explorer.


The above instructions are provided by Alex Daley at SCILS Netops. Further notes by Tefko:

Note that your home page in public_html is a file  with the name index.htm. So whatever you want to be your home page it has to be under that file name, and place it in public_html. It will come up first.

File transfer (ftp) can also be done by a variety of special ftp applications for that purpose. A most popular software is WS_FTP which can be downloaded from Ipswitch Corp. at http://www.ipswitch.com/.
It can alco be downloaded from Rutgers Microcomputer Support Services Group at http://mssg-ftp.rutgers.edu/utilities.html

A tutorial for use of WS_FTP can be found at Getting Started with FTP. http://www.pageresource.com/putweb/ftptut1.htm

See other tutorials about construction of Web pages at the Web site for 553 Digital Libraries under 553 Tutorials.


last update 13 Jan 2002 tefko@scils.rutgers.edu