Creating a Webpage on the CS Grad Net

Revision as of 16:11, 22 February 2010 by Steve410 (talk | contribs)

The page applies to CS Faculty, Grad Students, Staff, Researchers and Post Docs.

Accessing your webpage

use: http://www.cs.jhu.edu/~username to access your main webpage/

If you are using cgi-scripts on the grad net, use the following format to call up your cgi script:

http://www.cs.jhu.edu/cgi-bin/cgiwrap/username/test.pl

Creating your webpage: Setting up your index.html file

(NOTE: where you see “username”, replace that with your username.)

Follows these instructions step-by-step.

Log into a Grad Net Linux machine, and open a terminal window

chmod 701 ~username (don’t forget the ~ )

mkdir public_html

chmod 701 public_html

cd public_html

Edit index.html with your favorite editor.

Follow the template below for your index.html file:

(NOTE: indenting makes your source more readable, but is not required and will not affect the webpage itself.)

<html>
       <head>
                   <title>  Title of my webpage  </title>
       </head>
                        <body>
                                    This is a test!
                        </body>
</html>

Save and exit from your editor.

chmod 704 index.html

Now check your work. Does it work? To check: On the GRAD network, use http://www.cs.jhu.edu/~username On the UGRAD network, use http://ugrad.cs.jhu.edu/~username or http://www.ugrad.cs.jhu.edu/~username

If you have problems, check your permissions again.

Please be very careful changing your top-level home directory permissions.


Additional Notes

If you are a GRAD student and want to update the link to your webpage on the Graduate Students page, please e-mail Cathy Thornton .

If you have further issues, please e-mail the webmaster with a complete description of your problem.