URLs, URIs, Domain Names, IP Numbers


URLs, Domain Names, and IP Addresses

The Uniform Resource Locator (URL) provides a standard means of directing people to Internet resources. URLs are defined in RFC 1738 Uniform Resource Locators (URL), December, 1994, by T. Berners-Lee,  L. Masinter, and M. McCahill.

It is useful to think of URLs as being made up of three components - a communications protocol for obtaining a resource, the Domain Name of the site you wish to contact, and, optionally, the names of specific resources on that site.
 

Component

Examples

Explanation 

Protocol

ftp:// 
http:// 
gopher:// 
mailto: 
telnet://
irc://

A network protocol is a communications standard used to obtain a resource. If nothing is specified here, the Web protocol, http, will be used.

Domain Name

bubl.ac.uk
canada.gc.ca
web.mit.edu
www.sun.com

 A Domain Name identifies a particular server on the Net. 

Specific Files

/faq3.html
/urldef.html
/assignments/resumes.htm

Individual file folders and files on the server may be specified here.  If not,  the system will search for the site's main page.

Think of these components as "How do I get there? Where am I going? What do I want once I'm there?"

Notes: Ftp allows you to move several files to and from a remote computer. Http is the Web protocol. Gopher is a menu system which predates the Web, but is still used for text-only documents. Telnet allows authorized users to log into their accounts on remote computers. The simple mail transfer protocol (smtp) is the odd one. The command to use it is: "mailto:user@domain", without the slashes after the colon. (And yes, they are "slashes", not "backslashes". 'Backhand' writing slants to the left). Internet Relay Chat (irc) sites allow you to talk in real time with other users.

If you use the file transfer protocol (ftp), your browser may attempt to log you into a remote machine as a pretend user named "anonymous". Not all sites accept "anonymous ftp". If you wish to ftp files from a machine for which you have legitimate access (that is, a userid), you can put the userid in the URL like this: ftp://gonzo@someplace.edu, where "gonzo" is your userid at Someplace University. Once connected, you will be asked for a password.

How Domain Names relate to IP Addresses

Why are URLs Important?


Test Your Knowledge

Copyright © Christopher Brown-Syed 1995-2001. Disclaimers.