How do I publish my web pages on the department WWW3 server?

Body

This guide provides step-by-step instructions for publishing and managing personal and course web pages on the Stony Brook University Computer Science Department WWW3 server (cscompute01). 

Server & Authentication Details

The updated access server utilizes the CS Department Active Directory system rather than the legacy NIS authentication.

Parameter

Configuration / Value 

Server Hostname

cscompute01.cs.stonybrook.edu

IP Address

130.245.27.130

SSH Port

130

Credentials

CS Department Active Directory (Same as CS email credentials)

Data Location & Directory Paths

Data is organized across three primary server directory locations:

  • Research & Personal Files: /home/facfs1/yourCSusername

  • Personal Website Files: /home/www3/home/facfs1/yourCSusername/public_html

  • Course Website Files: /home/www3/home/courses/csexxx/public_html

Legacy Directory Note: Upon logging into cscompute01, you will land in your HOME directory (e.g., /home/facfs1/yourCSusername). To access legacy compserv files, navigate to /www/home/facfs1/yourCSusername.

Logging In and Managing Web Content

1. Personal Home Page Content

  1. Connect via SSH:
    ssh -p 130 yourCSusername@cscompute01.cs.stonybrook.edu

  2. Navigate to Web Directory:
    cd public_htmlAll web content (such as index.html) resides in this directory.

2. Course Page Content

Applies to course sites hosted at https://www3.cs.stonybrook.edu/~csexxx or https://www3.cs.stonybrook.edu/~isexxx.

  1. Connect using the Course Account:
    ssh -p 130 csexxx@cscompute01.cs.stonybrook.edu

  2. Upon login, you will land in /home/www3/home/courses/csexxx. Course website files reside in the public_html subdirectory.

File Transfer Instructions

You can upload or download website files using command-line tools (scp, rsync) or graphical clients:

  • Mac / Linux: Use Terminal.

  • Windows: Use Windows Terminal with OpenSSH enabled, or download and install WinSCP for a graphical interface.

Target Web Directories

  • Personal Webpage Path: /home/www3/home/facfs1/yourCSusername/public_html/

  • Course Page Path: /home/www3/home/courses/csexxx/public_html/

Uploading Files via SCP

Syntax:

scp -P 130 path/to/local/file.html yourCSusername@cscompute01.cs.stonybrook.edu:/home/www3/home/courses/cse101/public_html/

Downloading Files via SCP

Syntax:

scp -P 130 yourCSusername@cscompute01.cs.stonybrook.edu:/home/www3/home/facfs1/yourCSusername/public_html/file.html path/to/local/destination/

Directory Synchronization via RSYNC

To sync an entire local directory to the server:

rsync -avz -e "ssh -p 130" path/to/local/dir/ yourCSusername@cscompute01.cs.stonybrook.edu:/home/www3/home/facfs1/yourCSusername/public_html/

RSYNC Flag Explanations:

  • -a : Archive mode (preserves file attributes and metadata).

  • -v : Verbose output (displays transfer progress).

  • -z : Compress file data during transfer.

  • -e "ssh -p 130" : Specifies SSH transport protocol using non-standard port 130.

Details

Details

Article ID: 11142
Created
Tue 7/14/26 11:07 AM
Modified
Thu 8/27/26 3:16 PM