Domain names were created to facilitate addressing resources on the Internet. When the concept of the Internet was developed, it quickly became apparent that there was a need for a way to give easily remembered addresses to websites, mail servers, and other online resources.
Before the creation of the domain name system, computers were using IP addresses to communicate with each other. IP addresses are unique sequences of numbers assigned to each computer connected to the network.
The first IP addresses were assigned in 1969, but at that time, the network was used almost exclusively by scientists and engineers to share information remotely.
As the network grew, more and more users used it. But IP addresses were difficult to remember because they were made up of long and complicated sequences of numbers.
It then became clear that a more user-friendly system needed to be put in place to make it easier for users to find their way around.
This is why domain names came in. The system was created in the 1980s, it associates a domain name with an IP address.
Instead of typing sequences of numbers, users can type a domain name, which is easier to remember than an IP address.
When a user types a domain name into the web browser, the browser sends a request to a domain name server, which returns the IP address corresponding to the domain name. The browser then uses this IP address to connect to the corresponding website. When a new domain name is registered, it is associated to a new IP address.