Publish Web Pages Using Your TerpConnect Account


In this article

TerpConnect provides space for posting webpages. To learn more about storing, creating, uploading and viewing web pages, review the following sections below.

Where are my web pages stored?

The directory where your web pages are stored is called your public (or pub) directory. The default directory where your files are stored and where you enter when you log in is your home directory. Your pub directory is located one directory above where your home directory is located. In a Unix prompt to change directories, enter the command cd ../pub.

To get to your pub directory from the website terpconnect.umd.edu, log in and click Go Up. Click pub to open your public directory.

Top

How do I create a web page?

Creating a web page is as easy as creating a text document. In fact, a web page is simply a text document with special tags that tell the web browser what to display.

The most common extension for a web based document is .html or .htm. An example of an html filename would be index.html. An html document can be created in a text editor such as notepad, simpletext, pico, or emacs or if you are not very familiar with the different tags used in html, you can use a WYSIWYG (that is, what you see is what you get) editor which resembles the functionality a word processor. Some examples of common WYSIWYG editors are Frontpage, Pagemill and HotMetal.

Here are some resources to get started with creating a web page:

Top

How do I upload web pages?

There are three ways of uploading web pages:

  1. Graphical sftp client from a Windows or Mac system.
  2. Command line Secure File Transfer Protocol (SFTP).
  3. Copying the files to your h: drive from a Windows or Mac computer in a UMD computer lab.

Graphical SFTP Programs from Windows or Mac Systems 

WinSCP is recommended for Windows. 

Fetch is recommended for Mac.

  1. Launch the program.
  2. Click Connect.
  3. Enter or select terpconnect.umd.edu for the hostname.
  4. Enter your Directory ID in the User Name field.
  5. Click Connect to start the login process.
  6. Enter your Directory passphrase in the passphrase window.
  7. Continue following these instructions for using WinSCP to transfer files or Fetch to transfer files.

Top

Command line SFTP

  1. Open the Command Prompt for Windows or the Terminal for Mac
  2. Enter the following at the command prompt to connect to TerpConnect:
    sftp <Directory ID>@terpconnect.umd.edu
  3. Log in using your University Credentials.
  4. Enter:
    cd ../pub

    OR

    cd /pub/USERID

    to change to your public (web page) directory (where USERID is your Directory ID).
  5. Enter:

    put filename

    where filename is the name of the file you want to upload. If you wish to rename it as you transfer it, Enter:

    put filename   remote_filename

  6. Repeat step 5 for each file you want to upload, or use mput if you have several files of similar names (like: mput *.jpg). NOTE: You cannot rename files as you transfer them when using mput.
  7. Quit or bye to close the connection when you are done.

Top

File Copy from a Windows Workstations in a Computer Lab

NOTE: This method is only available on Windows workstations in a computer lab.

  1. Go to a computer lab to upload web pages to your TerpConnect account.
  2. Log into a Windows machine with your University Credentials.
  3. Double-click to open the h: drive. Your pub directory is within your h: drive.
  4. Double-click on .. Then, double-click on pub.
  5. Save your files to the pub directory just as you would to another other directory under Windows.

Top

How do I view my web pages?

The URL for your web pages is http://www.terpconnect.umd.edu/~username. You can type the URL into any browser such as Firefox or Internet Explorer to view the pages.

Top

What is not allowed on my web pages?

Top