Accessing Web Servers
Local vs remote servers, domain names, TLDs, IP addresses and DNS lookups.
Accessing Web Servers
Requesting documents requires knowing the machine name on which the web server resides — through local or remote web servers, and through a domain name or an IP address.
Local web server
- Resides on the user's machine.
- Requests documents by machine name or
localhost— the host name that references the local machine.
Remote web server
- Resides on a different machine.
- Domain name — represents a group of hosts on the internet; it combines a host name (www) and a top-level domain to form a fully qualified host name.
- Top-level domain (TLD) — describes the type of organisation that owns the domain name, e.g.
.comor.org. - Fully qualified host name — a user-friendly way to identify a site on the internet.
IP address and DNS
- IP address — a unique address for locating computers on the internet.
- Domain Name Server (DNS) — maintains a database of host names and corresponding IP addresses. It translates a fully qualified host name to an IP address — known as a DNS lookup.