URL stands for Uniform Resource Locator. URL's are character strings that are primarily used to locate webpages. The URL syntax was standardised in 1994 by:
URL's are a type of Uniform Resource Identifier (URI). While URI's are used to locate a massive array of resources on the Internet, URL's are primarily used to locate resources on the World Wide Web. URL's can also be used to locate files (via ftp) and email (via mailto). How HTTP functions, in relation to URL's, was outlined in: RFC 1738, RFC 2616, and RFC 2068.
Syntax of a World Wide Web URL
The URL syntax was standardised in 1994, and consists of the following:
The above syntax elements can be found within the following URL (this document):
However, as you can tell, the URL includes some other elements, which are:
A fully qualified domain name (FQDN) consists of the host (www), the namespace (internet-guide), and a top level domain (uk). It is also possible to refer to (www), (www.internet-guide.co.uk) and (internet-guide.co.uk) as a hostname: as each is associated with an IP address (host computer).
However, if the domain name (internet-guide.co.uk) was not associated with an IP address: it would not be a hostname, just a domain name. When (internet-guide.co.uk) is associated with an IP address it would be a hostname and a domain name. However, for the domain name (internet-guide.co.uk) to be a fully qualified domain name, it would need to include it's local hostname (www) and would be written as (www.internet-guide.co.uk).
Hostnames have to conform to the following specification: