Web Publishing for Stern Pages
There are many different methods and applications that can be used
for creating and publishing web pages, however we suggest using Macromedia
Dreamweaver, which is available to students from htttp://apps.stern.nyu.edu. This how-to guide provides information
on how to publish pages once they are created. For an introduction to
the basics of creating and a web page using Dreamweaver,
please see the how-to guides on Dreamweaver in the Web section.
Note: For FTP using Dreamweaver you will need
to use Dreamweaver MX 2004 or above in order to connect securely.
Introduction
Before you get started, be sure to activate
your Stern account at http://start.stern.nyu.edu.
As a member of the Stern community, you are allocated 100 MB of space
on the web server for storage of web pages. Web page files are stored
in your public_html folder located on sales. To access your webpage
on the web, type in the following URL:
http://people.stern.nyu.edu/username/
(where username is substituted by your net ID or club login ID)
When entering the above URL, the default page that loads is index.html.
If you do not have an index.html file, then a default page will be displayed instead.
All users are responsible for any and all content on their web pages.
The web space cannot be used for any profit-generating or illegal activities.
If a user is found to be violating any of these rules, appropriate action
will be taken. Click here to read Stern's
Web Policy.
Secure Publishing with WinSCP
WinSCP is a free SCP client for Windows that allows secure file-transferring.
It can be downloaded from here. After
the download is complete, click on the winscp376setup.exe icon to run
the setup wizard. You do not need to change the setup defaults, simply
continue clicking Next until the installation is complete.
You may need to restart your computer after it has finished.
After the program has installed, click on SSH in the left-side menu
and change the "Preferred SSH Protocol Version" to 2.
Login Screen
Start WinSCP by double clicking the icon labeled WinSCP3 on your desktop.
1. In the field labeled Host name enter the name of the server you want to connect to. For Stern administration
and staff, this will be eureka.stern.nyu.edu, for faculty
it is grid.stern.nyu.edu, and for students and student organizations it is sales.stern.nyu.edu.
2. Click on the selection button in front of SCP under Protocol.
3. For the User name and Password fields, enter your Stern NetID and password. Click Login to connect. 
Accepting A Server Key
If this is the first time you have ever connected to a particular
server, you will be prompted to accept the server's host key to connect.
This host key is a unique key for each server, and it ensures that every
future attempt to connect to the server will always be to that server,
and not some other server pretending to be the server
you want to connect to. You will only need to accept a key once for
each server you connect to. Click Yes to accept the
key and continue the login process. 
Transferring Files
After a server key is accepted, the main WinSCP window will appear.
The primary mechanism for transferring files is dragging and dropping
files between the left and right panes of the GUI. The left pane displays
files local to the computer, and the right pane displays files located
on the remote server. You can create folders on the remote server by
clicking in the right pane and clicking Create Directory along the bottom edge of the WinSCP window.

**Note:
If your window does not appear with two panels, this means that your
default interface has been set to show only the remote directory. To
change this, exit and reopen WinSCP, and choose Preferences from the left menu of the Login Window. Under Interface,
select Norton Commander as shown below. Then close
the window and start again for your preferences to take effect.

Changing file permissions
Click here for a how-to-guide on
changing file permissions using WinSCP.
Removing and Backing up Old Webpages
If you no longer wish to have your webpages accessible online, you
must first determine whether or not you would like to save a back-up
of the old file, or if you would like to simply delete it.
- To save a copy of your page on the server, but remove it from the
web, you can save it to your "private_html"
directory (if you do not have a private_html folder, click "Create
Directory" from your root directory to make one). First,
copy the files or folders your would like backed up to your local
server or hard drive, then transfer it back onto the remote server
under the "private_html" directory (see "Transferring
Files" section in the WinSCP guide).
- To save a copy of your page on your H: drive (or other hard drive
if you are accessing it from home), in the left panel, go to the directory
on your where you would like the file saved. Then, in your public_html
folder on the right, drag the file or directory you would like to
back up to the left panel.
-- Now you need to delete the file from your server. Simply highlight
it and click the Delete button. Your webpage will
no longer appear at your url.
|