

If the server approves the client's request, the server sends the client a "200 OK" message, which means "Of course you can look at that website! Here it is", and then starts sending the website's files to the browser as a series of small chunks called data packets (the shop gives you your goods, and you bring them back to your house).This message, and all other data sent between the client and the server, is sent across your internet connection using TCP/IP. The browser sends an HTTP request message to the server, asking it to send a copy of the website to the client (you go to the shop and order your goods).The browser goes to the DNS server, and finds the real address of the server that the website lives on (you find the address of the shop).When you type a web address into your browser (for our analogy that's like walking to the shop): Assets: This is a collective name for all the other stuff that makes up a website, such as images, music, video, Word documents, and PDFs.
#Cara mengetahui ip server wifi code#
Code files: Websites are built primarily from HTML, CSS, and JavaScript, though you'll meet other technologies a bit later.Component files: A website is made up of many different files, which are like the different parts of the goods you buy from the shop.This is like the language you use to order your goods. HTTP: Hypertext Transfer Protocol is an application protocol that defines a language for clients and servers to speak to each other.This is like looking up the address of the shop so you can access it. The browser needs to find out which server the website lives on, so it can send HTTP messages to the right place (see below).


When you type a web address in your browser, the browser looks at the DNS to find the website's real address before it can retrieve the website.

It's basically like the street between your house and the shop. Your internet connection: Allows you to send and receive data on the web.In addition to the client and the server, we also need to say hello to: On the other end of the road is the server, which is a shop you want to buy something from. On one end of the road is the client, which is like your house. There are many other parts involved, and we'll describe them below.įor now, let's imagine that the web is a road. The client and server we've described above don't tell the whole story.
