How the Web Works ?
Tags: webdev, beginners, codenewbie
Published: 2023-05-29 12:29:45



In this blog , I,ll be writing about the how web works ?

In short World Wide Web is system of interconnected of documents and resource that accessed all over internet
It allow user to navigate different website and various information ,communicate and engage in various online activities

### Client :
 An Application , such as fire-fox or chrome that runs on a computer and is connected to internet. It primarily focus  to take user interaction translate them into request to another computer called server. we use web browser to access internet in our daily lives. you think your computer as client in client-server model.


Every client computer has unique address are called Ip address.
Other computer use Ip address to find the computer. 


### Server : 
The term server refer to the computer or collection of computers that host requested web resource. The server receives the request message from the client

### IP Address : 
Internet Protocol Address. A numerical identifer for a device such as computer , server , router on A TCP/IP address.


Every computer on the internet has an Ip address it uses to identify them and communicate with each other. Ip address four set of numbers separated by decimal (eg: 224.155.65.2). This is called logical address. In order to locate device in the network . The logical address is converted into physical address by TCP/IP software. The physical address (eg: MAC ADDRESS) is built into hardware

### ISP:
 Internet Service Provider :  an ISP is company or organization that Provide to access the internet to individual , business, office, school ,etc.
ISP is middle man between client and server .


When your browser get request from you to go to www.google.com, It doesn't know where to look for google.com . so it ISP job to do as DNS (DOMAIN NAME SYSTEM) lookup to ask what IP address the site you trying to visit is configured to 

### DNS 

DOMAIN NAME SYSTEM : A distributed database which keep track of computer's domain names and their corresponding IP addresses on the internet 

Domain name : used to identify one or more ip address.
User use the domain name (e.g www.google.com) to get the website on the internet. 

when you type the domain name into your browser. the DNS uses it to look up the corresponding ip address for that given website.


### TCP/IP 

Transmission Control Protocol / Internet Protocol . The most widely used communications protocol . TCP/IP is used as a standard for transmitting data over networks. 

### PORT Number 

A 16-bit integer that identifies a specific port on a server and is 
always associated with an IP address . It servers as a way to identify  
a specific process on a server that network requests could be forwarded to 


### Host 

A computer connected to a network- It can be client, server or any other type of device. each host has unique ip address. we need host to put our website online access everywhere 24/7

### HTTP

Hyper-text Transfer Protocol. The protocol that web browsers and web servers use to communicate with each other over the internet. 

### URL 

Uniform Resource Locators . URLs Identify  a particular web resource . 
A example https://github.com/someone. The URL specifies the protocol ("https"), host name (github.com) and file name (someone profile page). 

A use can obtained the web resource identified by this URL via HTTP from a network host whose domain name is github.com