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.
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:
How do I upload web pages?
There are three ways of uploading web pages:
- Graphical sftp client from a Windows or Mac system.
- Command line Secure File Transfer Protocol (SFTP).
- 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.
- Launch the program.
- Click Connect.
- Enter or select terpconnect.umd.edu for the hostname.
- Enter your Directory ID in the User Name field.
- Click Connect to start the login process.
- Enter your Directory passphrase in the passphrase window.
- Continue following these instructions for using WinSCP to transfer files or Fetch to transfer files.
Command line SFTP
- Open the Command Prompt for Windows or the Terminal for Mac
- Enter the following at the command prompt to connect to TerpConnect:
sftp <Directory ID>@terpconnect.umd.edu
- Log in using your University Credentials.
to change to your public (web page) directory (where USERID is your Directory ID).
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
- 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.
- Quit or bye to close the connection when you are done.
File Copy from a Windows Workstations in a Computer Lab
NOTE: This method is only available on Windows workstations in a computer lab.
- Go to a computer lab to upload web pages to your TerpConnect account.
- Log into a Windows machine with your University Credentials.
- Double-click to open the h: drive. Your pub directory is within your h: drive.
- Double-click on .. Then, double-click on pub.
- Save your files to the pub directory just as you would to another other directory under Windows.
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.
What is not allowed on my web pages?
- Your web pages cannot be used for commercial applications. In other words, don't try to make money from them.
- Your web pages cannot contain illegal software. Or links to illegal software.
- No illegal activities of any kind are permitted from your web pages.
- Your personal web pages are not official University documents. Any attempt to use them as such is also not permitted.
- If you have any questions, please see the Acceptable Use Policy for the University.