Server Flashcards
Server
Is a generic term referring to either software or hardware that processes request from clients. A server offers shared resources that can be requested for use by a client.
Client
Is software that sends a request to a server to access a shared resource and processes the response returned from the server.
http://www.techelevator.com:80/events/current?month=march&day=27#00h02m30s
http:// Protocol
www.techelevator.com Domain
:80 Port
/events/current Path to resource
? Query
month=march&day=27 Parameters
#00h02m30s Anchor/Fragment
Domain names
Are composed of parts, each separated by a period. Domains start a top-level domain and then form a hierarchy of subdomains, each a child of the higher-level domain.
dashboard.techelevator.com
.com is the top-level domain
.techelevator is a subdomain of .com
dashboard. is a subdomain of .techelevator.
IP (Internet Protocol) Address
Identifies a computer or device on a network (including the internet). All devices/computers on a network must have an IP address to communicate with other devices/computers on the network. It gives the location of the device like the street address of a house.
Types of IP Address
IPv4 - dotted-decimal notation
IPv6 - in hexadecimal
DNS (Domain Name System)
Allows for easy-to-remember names for IP address. Like a map with string keys (techelevator.com) and IP address values (198.49.23.144)
Port
Used to identify which server application should handle the request. Port 80 - HTTP Port 443 - HTTPS Port 25 - SMTP (Email Mail) Port 21 - FTP (File Transfer) Port 22 - SSH (Secure remote terminal)
HTTP (HyperText Transfer Protocol)
It is a defined language and process they will use when the client makes a request and the server returns a response.
Parts of an HTTP Request
- Method.
- Requested Resource.
- Header.
- Parameters.
Parts of an HTTP Response
- Status Code.
- Header.
- Content-Type.
- Content (Body).
Method (VERB) parts of an HTTP Request
GET - Retrieves information
POST - Adds information
PUT - Updates information
DELETE - Deletes information
Method (VERB) part of an HTTP Request
GET - Retrieves information
POST - Adds information
PUT - Updates information
DELETE - Deletes information
Requested Resource part of an HTTP Request
A resource is something shared by the client. It can be an HTML page, CSS, a file like an image or pdf document, information from a database, access to a stream, or anything else the server can deliver.