If you are engaged in the creation of sites, then surely at least once heard the question of how to create a site similar to yours? Such a question could ask a member of your family, friend or boss. You start to tell, covering the topic of the concept of hosting, which is inextricably linked with the work site. How to clarify the concept of hosting “teapots”, that is, those people who are far from it?
The main concepts of hosting can be simple for those whose work is related to sites. But to tell about them in an accessible language is quite difficult. There is a great way to make this process a little easier and faster with simple comparisons.
An excellent example of comparison is, for example, the telephone line. This technology is much easier to understand, and its functions are similar to work on the Internet.
When describing a server, one should distinguish between a server — software (which serves to generate pages — Apache, for example) and a server — hardware.
When we talk about the server – hardware, it is described, usually, as a computer that receives requests from other machines (servers, computers).
In comparison, the server resembles a landline telephone, that is, a device with which the call is accepted and communicated with another person.
The simplest explanation of the principle of the server software works – it functions in the same way that someone answers questions by phone.
Using a browser that is part of the software, you send a request to the server to get information about what the server is responding to. In rare cases, the server cannot find the information you are looking for, and you receive a notification: the file was not found.
That is, as if you are asking a question over the phone, and the other side immediately gives an answer. However, instead of two people, there are two applications – a server and a browser, which communicate with each other.
HOSTING TRAFFIC CONCEPT
Traffic is bandwidth, which is usually explained with pipes and water. For example, how much water can pass through the pipe and for that amount of water is charged. Comparison with the phone is applicable in this case.
Traffic is similar to how many calls people and the telephone network can handle at the same time. The server and the network can only respond to a limited number of connections, and when their limit is exceeded, you have to wait in a queue to get a response from the server.
The best explanation of the DNS is the comparison with the phone book. To call another person you need to dial a phone number. DNS works in a similar way, and we type the IP address to go to the site.
Just as we look in the phone book, our computer is looking for information in the DNS server.
But it takes time to update the data stored on the server, just as it takes time to update phone numbers in the book. If you purchased a domain recently, people will not find you right away.
THE CONCEPT OF HOSTING DATABASES AND CMS
Let us turn again to the analogy of telephone communication. There are 2 ways in which a person can answer correctly: just know the answers and say right away, or, if there is information in the database, first find it, and only then answer.
The first method is faster, however, it is difficult to keep in mind the correct answers to a huge number of questions. The second method is slower, but allows you to give answers to more questions. And when a person regularly answers the same questions, he can change the second method to the first one – to remember and immediately give answers.
Most sites (CMS) combine both of these methods. For frequent common questions, “caching” occurs, which reduces the time for searching for answers. Thus, from both methods sites took the best, – speed and flexibility, for fast processing of large amounts of data.
Most of the concepts that are associated with hosting “chanik” can be easily explained by comparing this technology with the usual telephone conversation. Telephones are more common than the Internet, but the principle of their work is the same. Use!