Web Programming (CS735) : - Pre-Requisite: Java Programming Basics - Course Outcomes
Web Programming (CS735) : - Pre-Requisite: Java Programming Basics - Course Outcomes
.
Domain Name System
• Humans beings are not capable of remembering IP address.
• As far back as the days of ARPANET, researchers assigned
domain names to IP addresses.
• In those early days, the number of Internet hosts was small.
• So a list of a few hundred domain and IP addresses could
be downloaded as needed from the Stanford Research
Institute as a hosts file.
• Those key-value pairs of domain names and IP addresses
allowed people to use the domain name rather IP address.
• Number of computers on the Internet grew, this hosts file
had to be replaced with a better, more scalable, and
distributed system.
Domain Name System
• This system is called the Domain Name System (DNS)
• DNS is responsible for converting host address to IP address
• domain names provide a human-friendly way to identify
computers on the Internet
.
Name Levels
.
Name Levels
• A domain name can be broken down into several parts.
• All domain names have at least a top-level domain (TLD)
name and a second-level domain (SLD) name.
• Most websites also maintain a third-level WWW
subdomain.
• The rightmost portion of the domain name (to the right of
the rightmost period) is called the top-level domain.
• Top level domain names are categorized into two main
broad categories.
Generic top-level domain (gTLD)
• Unrestricted. TLDs include .com, .net, .org, and .info.
• Sponsored. TLDs including .gov, .mil, .edu, and others.
These domains can have requirements for ownership and
thus new second-level domains must have permission from
the sponsor before acquiring a new address.
• New. Companies and individuals could submit applications
for new TLDs. Which include a wide range of both
contested and single applicant domains. These include
corporate ones like .apple, .google, and .macdonalds, and
contested ones like .buy, .news, and .music.
Country code top-level domain (ccTLD)
• TLDs include .us, .ca, .uk, and .au. At the time of writing, there
were 252 codes registered.
• These codes are under the control of the countries
which they represent
• In the United Kingdom, for example, commercial entities and
businesses must register subdomains to co.uk rather than
second-level domains directly.
• Since some nations use nonwestern characters in their native
languages, the concept of the internationalized top-level
domain name (IDN).
• Some IDN’s include Greek, Japanese, and Arabic domains
which have test domains at http: //παρά δειγμα. δοκιμή,
http:// 例え . テスト , and http:// , الثم. رابتخإrespectively
Uniform Resource Locators(URL)
• In order to allow clients to request particular resources
from the server, a naming mechanism is required.
• So that the client knows how to ask the server for the file.
• For the web that naming mechanism is the Uniform
Resource Locator (URL).
• It consists of two required components: the protocol used
to connect, and the domain (or IP address) to connect to.
• Optional components of the URL are the path (which
identifies a file or directory to access on that server), the
port to connect to, a query string, and a fragment identifier
Uniform Resource Locators(URL)