Parsing the URL

URL stands for Uniform Resource Locator. A URL identifies a particular Internet resource: a Web page, a gopher server, a library catalog, an image, or a text file. It's the address of a resource and can tell you a lot about that resource.

The basic structure of a URL is hierarchical, and the hierarchy moves from left to right:

protocol://server-name.domain-name.top-level-domain:port/directory/filename

Examples:

So, for instance...

http://www.lawrence.edu/academics/it/url.html

tells us that...


Tricks to know


More on domains

The Internet is made up of many computer networks. These networks are classified into categories called domains. Domains are classified either by the type of organization that hosts the network or by geographical location.

The host-type domains are:

.com Commercial
.edu Educational
.gov Governmental
.mil Military
.net Network
.org Non-profit Organization

State domain codes are generally the two-letter state abbreviations. An example:

http://badger.state.wi.us/ Badger: State of Wisconsin Information Server

Country codes can be found here:

ISO (International Standards Organization) Country Codes