Step by Step Instructions for beginners for Creating a Basic Web Page at NJIT
All NJIT students, faculty and staff can crate personal
website and store on Highlander AFS, NJIT's implementation of Andrew File System
. Web.njit.edu is the web server for AFS. After you create your
webpage it will have a URL in the form: http://web.njit.edu/~yourUCID.
Java programs, PHP, JSP, and MySQL are currently supported. Students can also
run CGI scripts from their AFS account. MySQL is a multi-user, multithreaded SQL
(Structured Query Language) database server. Any user with a Highlander AFS
account may request access to MySQL by sending an email to
mysql-request@oak.njit.edu. For
more information on MySQL at NJIT, please visit
http://web.njit.edu/mysql.
Below are steps that you have to complete in order to create your website.
- Be sure you have met the prerequisites. See our list of prerequisites.
- Obtain the required hardware and software. See our list of
hardware and software requirements .
- Get an account on an AFS system . For
instructions on setting up an account on one of these system click
here.
- Once you have set up an account,
create a public_html
folder.
For an animated tutorial on setting up your home page click
here.
-
Prepare your PC and web editor.
- Create a directory/folder on your PC called public_html
- Start Microsoft Front Page (or the web editing software you have chosen) and create a new page. Your first page should have name index.html.
-
Front Page users need to do the following:
- Click on "File" - "New". Choose
"One Page Web Site".
- Click right mouse button and choose "Site Settings...". Type the title for your page (for example, Professor Watson's Homepage). Then click on the
"Ok"button and enter the directory/folder you created on your PC (i.e., c:\\public_html).
-
Edit your page.
-
Make the necessary changes to your homepage. When you edit a hyperlink be sure it is set up with the proper url.
- For pages in your local directory: simply the file name (including directory if nescessary). For example, if you store your
file named "vita" (we'll call the file vita.html) in your public_html directory (the same directory as your homepage), the link format would be A HREF="vita.html" If you store your
"vita" in a sub directory of public_html (we'll call the directory Bio) the link format would be A HREF="Bio/vita.html". Important Note: the URL is case sensitive.
- For pages at NJIT and external sites use the full web address. For example, to refer to the NJIT homepage the link format would be A HREF="http://www.njit.edu".
- When you are finished, be sure to save and close your file. The default homepage name that FrontPage uses is index.htm. Use this for your main homepage.
- Upload your page to the web server. Start your SSH software and connect to your web server (afsx.njit.edu).
For instructions how to use SSH click
here. Copy your homepage file from your PC to your public_html directory on the web server.
- Congratulations! You have created and published your web page. Be sure to check the page using a browser. The url of your homepage is your the name of the web server followed by .njit.edu plus a forward slash (/) and tilde (~) and your login id for the web server. For example, if your login id is watson, the URL for your homepage will be
http://web.njit.edu/~watson
Useful Resources
General Web Information
HTML Tutorials
Return to top.
Made April 4 2008
by Jolanta Soltis