Sign In

[X] Login to ...

Home > Computing > Web Services > How To Manage Personal Websites
How To Manage Personal Websites

How to Manage Personal Web Sites

General Information

  1. You must have an Active Directory account to create and manage your personal web site.  To obtain an AD account, follow the URL: https://cams.qc.cuny.edu/.   A tutorial on account set-up is available online.
  2. All users have capacity of 250 MB for their personal web sites.
  3. Web site can be developed in HTML, PHP and CGI programs.  Microsoft Front page extensions are not supported.
  4. Your web site can be developed using any of the standard WYSIWYG tools like Dreamweaver.
  5. To connect to the server for uploading the files, most web site authoring tool can be setup to do so or any FTP client software that supports SFTP can be used. 

Connecting to the Server for Web Site Management

  1. A secure FTP client is required to upload and manage the department web site pages.  WinSCP is recommended and it's free. (Dreamweaver or other html editors can be used to create/edit web content, but to upload the files to the server, a FTP client is needed.)

    WinSCP is downloadble here: http://internap.dl.sourceforge.net/sourceforge/winscp/winscp400.exe. For detailed instructions (with screen shots) on logging onto the server and navigating to your destination folder, please click here.

    For MAC users, fugu FTP client is recommended and is downloadable here:
    http://www.pure-mac.com/downloads/fugudl.html

  2. Provide the following credentials for connection;

    Server address: qcpages.qc.cuny.edu    

    Warning: forbin is no longer an active web server. Please do not connect to it for content update. Connect to qcpages.qc.cuny.edu instead. If you connect to forbin.qc.edu, changes to your web content will not take effect.

    User name: AD account with domain: QC\ADusername or INSTR\ADUsername

  3. When you connect to qcpages.qc.cuny.edu via FTP you will be placed in your home directory.  Your home directory name is the same as your Active Directory username that you use to log into the server. For example, when you log in using QC\vanbumani, a home directory vanbumani, if not already existing, will be created.
  4. You need to change to the “public_html” directory” to maintain your site. The html files for the personal web site must be placed under in the “public_html” folder. 
  5. The index file or the default file, the web server will look for in ‘public_html’  is index.html.  This will be the start page for your personal web site.
  6. Create a sample html file called, index.html in your local computer using notepad.
  7. Use your FTP program to connect to the server.  Place the sample html file under “public_html” folder.  Immediately the sample file uploaded will be available for browsing. 
  8. The public URL for your personal web site will be, http://qcpages.qc.cuny.edu/~username
  9. Similarly PHP files can be created and placed in the same “public_html” folder.

Manage Personal Web Site Migrated from the Old Server

  1. If you have a personal web site on the old server and the content has been modified since 12/31/2005, the web site has been migrated to the new server. If your site has not been modified since the cutoff date of 12/31/2005, you can request to have it moved to the new server by filling out the form and returning it to the helpdesk contacting the helpdesk at the I building.
  2. When you connect to the new server qcpages.qc.cuny.edu via FTP, you will be placed in your home directory—titled the same as your login username. For example, when you log in using QC\vanbumani, a home directory vanbumani, if not already existing, will be created.
  3. If your old web folder is named differently, for example, vanbu, you need to navigate one level up to the home directory. Then you'll see the vanbu folder and perform maintenance there.

CGI Programs

  1. Putty is recommended to manage the CGI program.
    1. Click this link to download Putty.
    2. Click on "Save" when the download window pops up—to save the program locally, for example, on your desktop.
    3. Click on the saved program on your computer: Putty.exe to login and perform maintenance.
    4. Click here for more information on Putty.
  2. CGI programs written in Perl are supported and must be placed under ‘cgi-bin’ folder inside your home directory.
  3. A sample CGI program ‘test.cgi’ is available in ‘tmp’ folder.
  4. Copy the sample program to ‘cgi-bin’ folder to your home directory.

    Alternatively, a new CGI program can be written in ‘cgi-bin’ folder.

  5. For the CGI program to execute, the owner of the file must be changed to the active directory user name and group to ‘users’.

    Use “chown” command to change the owners of this CGI program.

     

  6. Check for the file execution permission of the CGI program.

    1. AD owner must have read, write and execute permission.
    2. ‘Users ‘group must have read and execute permission.
    3. Others must have read and execute permission.
  7. The CGI program can be viewed using the following URL,

http://qcpages.qc.cuny.edu/cgi-bin/php-cgiwrap/ADaccountName/test.cgi

Please note that we do not need ~ in front of the account name.

Additional Supported Technology/Software

    1. C/C++ compiler
    2. Common lisp interpreter (CLISP)
    3. Perl interpreter
    4. Java compiler JDK
    5. PHP
    6. Server-side scripting using Perl.
    7. Emacs / vi editor.

Helpful Programs for Freshmen
  • Freshmen Five Year Initiative (FYI)
  • Search for Education, Elevation & Knowledge Program (SEEK)
 
 

 Freshmen Important Dates

 
 

 Freshmen Forms & Applications

 
 

 Office Information

 
Hours: (M-F) 9-5  |  (Sat-Sun) Closed
Bldg: xxxxxx    Room: xxxxxx
Phone: (xxx) xxx-xxxx
Fax: (xxx) xxx-xxxx
Staff Directory

Jane Doe
Director of [Office Name]
(xxx) xxx-xxxx
jane.doe@qc.cuny.edu 

Contact Us
 

 News

 
     



Queens College, CUNY| 65-30 Kissena Blvd.| Queens, NY 11367-1597| Phone: (718) 997-5000 Copyright © 2004-
Queens College is CUNY