HTTP Flow
Last updated
Last updated
^ is a high level view of what happens when an HTTP request is submitted.
User enters address in browser
Browser sends the address to a DNS server to resolve the IP.
Client sends HTTP request to the server. (GET)
Server responds with requested information.
Browsers will usually check /etc/hosts first, /etc/hosts can be edited manually to add records for DNS resolution. To do so add the IP address followed by the domain name.
After the browser gets the IP address it will send a GET request to the default HTTP port (80). It will ask for the root path. /
The response will also have a status code. 200 OK means the request was successful.
The browser will then render the page and present it to the user.