client-server-model

Table of Contents

Server Model

Client Server Model

Clients

Servers

Networking

Making a GET request

  • When a browser looks up a website, it does a DNS lookup of the URL to find its IP Address
  • a DNS query goes to a set of servers, and the server returns the IP address.
  • an IP address is a unique id for public computers.
  • an IP address is like a mailbox for a computer.
  • dig domain makes a DNS query.

Server Response

  • With the IP address, the HTTP server knows where to send its request.
  • The client can then send messages to it, and the server can respond to those messages with its own messages.
  • HTTP is over TCP/IP, which is normally on port 80.
  • HTTPS is over TCP/IP with TLS, which is normally on port 443.

Exercise

Prev: [what-are-design-fundamentals](what-are-design-fundamentals.html) Next: [network-protocols](network-protocols.html)