When you want to visit a website using a web browser, the following happens sequentially.
In the above example, we need to observe the following key points –
The key point to note –
Applications are installed or reside on machines such as computers or mobile phones.
When two applications communicate with each other, they do it via the two machines on which they reside. Thus, a complete address of an application includes the address of the machine also.
The internet address of a machine is known as an IP address or Internet Protocol Address.
Coming back to the URL now which you typed to get a website, the URL connected your browser with the webserver to get the webpage.
The webserver is another application installed on a machine. Usually, such machines which have web servers are called Server Machines.
The URL which is the address of the webserver application indirectly includes the IP address of the server machine also. This is done via mapping URL to IP address by DNS or Domain Name Server. We would learn about it later on in this course.
The IP address of a machine can be configured using a utility inside the operating system. Thus, this is actually the internet address of the operating system, we can say, which resides on the computer machine.
The machine has another address as a physical address which is usually hardcoded on the network card installed on the motherboard. The physical address is hardcoded and cannot be changed normally.
This physical address is unique across the globe for any machine which means that no two machines in the world can have the same physical address.
Applications are installed or reside on machines such as computers or mobile phones.
When two applications communicate with each other, they do it via the two machines on which they reside. Thus, a complete address of an application includes the address of the machine also.
The internet address of a machine is known as an IP address or Internet Protocol Address.
Coming back to the URL now which you typed to get a website, the URL connected your browser with the webserver to get the webpage.
The webserver is another application installed on a machine. Usually, such machines which have web servers are called Server Machines.
The URL which is the address of the webserver application indirectly includes the IP address of the server machine also. This is done via mapping URL to IP address by DNS or Domain Name Server. We would learn about it later on in this course.
The IP address of a machine can be configured using a utility inside the operating system. Thus, this is actually the internet address of the operating system, we can say, which resides on the computer machine.
The machine has another address as a physical address which is usually hardcoded on the network card installed on the motherboard. The physical address is hardcoded and cannot be changed normally.
This physical address is unique across the globe for any machine which means that no two machines in the world can have the same physical address.
When you type the URL on the web browser of your laptop at home, it gets the webpage of the URL you typed. In this process, your machine at home contacts the webserver machine on the internet.
If you find the IP address of your machine at home, it may start with 192.168.X.X mostly. However, if you get the IP address of www.google.com for example, it would be mostly starting like 172.217.X.X
The network at home is usually a private network. Whereas the network on the internet is a public network. Thus, when your machine from home contacts the webserver via the internet, it is an interaction between a private network and a public network.
Your machine at home is connected to a wi-fi gateway mostly. This gateway connects your private network to the internet.
Within your private network, you may also have a TV, a Printer, and a few cell phones using the internet service provided by your service provider via wi-fi gateway.
All the machines inside a private network such as your home network have IP addresses as per private network configuration settings. These machines can communicate with the internet only using the gateway which has two interfaces, one for the private network and another for the public network.
When you type a URL on the web browser, it is converted into an IP address. This is done by a DNS or Domain Name Server. The public IP address of a DNS is configured in the wi-fi gateway.
There are many DNS on the internet and your machine connects to one of them which is configured in the gateway.
A DNS Client is called DNS Resolver.