General Trivia Flashcards
What happens when you type in a URL in the browser and hit enter?
1) The browser goes to the DNS (Domain Name Server) and looks up the real address of the server that the website lives on.
2) The browser sends a HTTP request message to the server and asks the server to send a copy of the website to the client. The request and response messages are sent across the internet connection using TCP/IP (Transmission Control Protocol and Internet Protocol).
3) If the server approves the client’s request, the server sends the client a “200 OK” message to indicate that the request was successful and then starts sending the website’s files to the browser as data packets.
4) The browser assembles the data packets into a complete website and displays it to the user.
What is TCP/IP?
TCP/IP stands for “Transmission Control Protocol and Internet Protocol” and are communication protocols that define how data should travel across the web.
What is DNS?
DNS stands for “Domain Name Servers” and are like an address book for website. When you type a web address into a browser, the browser looks at the DNS to find the web site’s real address before it can retrieve the website. The browser needs to tifnd out which server the website lives on, so it can send HTTP message to the right place.
Real web addresses are not memorable strings typed into the address bar of a browser (i.e. a URL). Instead, they are special numbers that look like this: 63.245.215.20. This is called an IP address and represents a unique location on the web.
What is HTTP?
HTTP stands for Hyper Transfer Protocol and is an application protocol that defines a language for clients and servers to speak to each other.
What are common server and HTTP response codes?
200, ok -request was successful 307, moved temporarily elsewhere 301, address changed permanently 401, URI is gone forever 500, failed request but not sure why