What is Hosting and how does it work?
A hosting is a hosting service for websites.
Instead of hosting people, web hosting hosts the contents of your website and your email so that they can be visited at any time from any device connected to the Internet.
When you want to check a file on your computer, that content is stored somewhere, it can be on your computer’s hard drive or a usb storage device, for example.
The same happens with the content of the websites, it must be stored somewhere and in order for it to be accessed through the Internet, it must be stored on a web server.
A server is a computer equipment that is much more powerful than a conventional computer, connected to the Internet 24 hours a day so that the contents it stores can be accessed at any time. The server is the physical equipment, the hardware, and from it different types of web hosting: shared hosting, VPS, cloud, WordPress hosting, elastic hosting, etc.
How does web hosting work?
Once you have web hosting to host your page files, your visitors can reach them through your domain.
Domains are used to tell the browser what content you want it to show you. The browser will go to look for the contents of the website to the hosting where it is hosted to show them to you, but how does it know which web hosting it has to go to look for them? This is where DNS (also called Nameservers) come into play.
The different computers connected to the Internet do not locate each other by name, but use numerical codes called IPs to communicate.
However imagine if you had to remember an IP number for each website you wanted to visit, it would be impossible! For this reason, the domain name system was created to facilitate this task and that we can use names (easier to remember) instead of IPs to navigate the Internet.
Each domain can be translated into an IP that will be that of the server where your content and email accounts are hosted. The DNS are responsible for making this translation possible.
types of hosting
There are different types of web hosting depending on their characteristics. The main types of hosting are shared hosting, VPS and dedicated servers.
- Shared hosting
- VPS Hosting
- Elastic hosting
- Cloud hosting
- Dedicated server