How To Manage Personal Websites
How to Manage Personal Web Sites
- 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.
- All users have capacity of 250 MB for their personal web sites.
- Web site can be developed in HTML, PHP and CGI programs. Microsoft Front page extensions are not supported.
- Your web site can be developed using any of the standard WYSIWYG tools like Dreamweaver.
- 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
- 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:
- 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
- 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.
- 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.
- 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.
- Create a sample html file called, index.html in your local computer using notepad.
- 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.
- The public URL for your personal web site will be, http://qcpages.qc.cuny.edu/~username
- Similarly PHP files can be created and placed in the same “public_html” folder.
Manage Personal Web Site Migrated from the Old Server
- 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.
- 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.
- 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.
- Putty is recommended to manage the CGI program.
- Click this link to download Putty.
- Click on "Save" when the download window pops up—to save the program locally, for example, on your desktop.
- Click on the saved program on your computer: Putty.exe to login and perform maintenance.
- Click here for more information on Putty.
- CGI programs written in Perl are supported and must be placed under ‘cgi-bin’ folder inside your home directory.
- A sample CGI program ‘test.cgi’ is available in ‘tmp’ folder.
- Copy the sample program to ‘cgi-bin’ folder to your home directory.
Alternatively, a new CGI program can be written in ‘cgi-bin’ folder.
- 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.
Check for the file execution permission of the CGI program.
- AD owner must have read, write and execute permission.
- ‘Users ‘group must have read and execute permission.
- Others must have read and execute permission.
- The CGI program can be viewed using the following URL,
Please note that we do not need ~ in front of the account name.
Additional Supported Technology/Software
- C/C++ compiler
- Common lisp interpreter (CLISP)
- Perl interpreter
- Java compiler JDK
- Server-side scripting using Perl.
- Emacs / vi editor.
|Helpful Programs for Freshmen
- Freshmen Five Year Initiative (FYI)
- Search for Education, Elevation & Knowledge Program (SEEK)