URLs, IP Addresses, and DNS Flashcards
Four layers ewan
- Application Layer
- Transport Layer
- Internet Layer
- Network Access Layer
URI
Uniform Resource Identifier
- A ____ is a sequence of characters that identifies an
abstract or physical resource. - Identifies a resource either by location or name.
URI
URN
Uniform Resource Name
- ____ identify a resource using a name.
- This name has to be unique across a namespace.
URNs
URL
Uniform Resource Locator
- ____ are the most common way of identifying resources on the web.
- Identifies a resource using its location.
URLs
- The web identifies resources by ________.
- URLs may refer to more than 1 resource over time.
location
At minimum, URLs need a 1) ________ and 2) ________.
- Protocol
- Domain Name
https://www.google.com/
https:// -> 1) ________
www.google.com/ -> 2) ________
- Protocol
- Domain
Declares how the browser should communicate with the server.
Protocol
- The name of your website
- (costs about ₱500 - ₱2000 / year)
Domain Name
Domain Name can be further broken down into:
Subdomains and top-level domain
https://classroom.google.com/u/0/h
What is the top-level domain here?
com
https://classroom.google.com/u/0/h
What is the subdomain here?
classroom
https://www.google.com/u/0/h
What is the subdomain here?
www
- ________ usually designate a specific area of your site.
- A common one is blog.somedomain.com
Subdomains
Refers to a file, resource, or directory in the server.
Path
http://www.somewebsite.com/index.html
What is the path here?
/index.html
https://www.youtube.com/watch?v=dQw4w9WgXcQ
What is the path here?
/watch
- Commonly found in the URL of dynamic web pages.
- Preceded by the ? symbol.
Query
https://sais.up.edu.ph/psp/ps/?cmd=login
What is the query here?
?cmd=login
- ________ make up the query string.
- ________ are key-value pairs separated by the ‘&’ symbol.
Parameters
https://sais.up.edu.ph/psp/ps/?cmd=login
What is the parameter here?
cmd=login