Last Updated:
Factors to consider before choosing a web hosting service provider
Image by Mudassar Iqbal from Pixabay

Factors to consider before choosing a web hosting service provider

We go to dozens of sites every day, this is called "web surfing." In this article, let's understand how sites work, and what does web hosting have to do with it.

When you need to go to any site, we open a browser and write the name of the site, or rather a domain name. It consists of the name and designation of the domain zone, for example, the domain "thetrickspeak.com" refers to the zone "global". Next, the browser needs to convert the alphabetic name to the digital address of the site - IP (Internet Protocol). Text names were invented for the convenience of using the Internet, but in reality, only digital IP addresses are “under the hood”.

For mapping domains with IPs, a global database of Domain Name System (DNS) names is used.

When the IP is found, the browser accesses this address and starts downloading the site files. These files must be stored somewhere, this place is called web hosting. That is, hosting is a place on the Internet, the server where the site “lives”. Web hosting is provided by hosting providers. The stability of work and the speed of loading the site directly depend on the quality of the hosting. Hosting service is paid, and prices vary depending on requirements, from $ 1 per month. There are thousands of providers now, so it’s better to understand factors before buying any hosting for your website.

Hosting Features

Hosting not only contains site files, but it is also a complex system that includes several basic modules:

  • Name Server (DNS).
  • File storage.
  • Programming language handlers.
  • Database servers.
  • Backup system.
  • HTTP server.

The name server stores a database of domains and IP addresses. These databases are synchronized with each other and, theoretically, the same database on all hosting sites. Your ISP has the same database.

The file server provides disk space. There are several basic file types used for the site:

  • HTML is the source code of the page that is loaded into the browser.
  • PHP - code in the programming language PHP.
  • CSS - styles for visualizing content.
  • JS - code in the Javascript programming language.
  • JPG, PNG, GIF, WEBP - pictures, photos.

You can, of course, store any files, but the described types are used on most pages on the Internet.

On the Internet, some sites were static. This means that the hosting kept ready-made files that the browser simply downloaded and rendered the page. Now the sites are dynamic, i.e. the finished HTML file does not lie on the server, but it needs to be generated. This happened because there were content management systems (CMS), for example, WordPress.

CMS uses programming languages ​​and databases. Different information is stored across dozens of tables in the database. With the help of a code, information is collected according to a given algorithm and a page is formed.

Thus, you can generate millions of pages, and you do not need to store HTML files for each. But most importantly, it is easy to change something immediately on all pages of the site. Web hosting can interpret code in programming languages. The most popular are PHP, Perl, Python, ASP.NET, node.js. When choosing a hosting, pay attention above things

The HTTP server accepts the connection from the browser and gives the files. If the page is static, then the HTTP server simply downloads the HTML file, and if it is dynamic, it will first transfer control to the interpreter and then take the HTML code from it. Hosting ability to process a large number of connections, i.e. visitors, depends on the HTTP server.

Types of Hosting

The described model is called "Shared hosting", also called virtual or private. With shared hosting, a site is allocated disk space and a processor time limit for processing commands. As a rule, this limit is small, since hundreds of sites use one server, hence the name - “common”. This is the most inexpensive and common type of hosting.

Shared hosting has disadvantages:

  • Limited computing resources.
  • You can not change the software environment.
  • Server settings are very limited.
  • The security of all sites is interconnected.

But there are advantages:

  • Low cost.
  • Everything works out of the box.
  • Server administration is entirely in the hands of technical support.

Serious web owner does not use shared hosting, although large content resources may remain here. In fact, shared hosting can withstand impressive traffic if you turn a dynamic site into a static one.

Caching plugins are used for this. It works simply: the first time you access the page, it, as expected, is generated by the engine from scratch. Then, the finished page is saved to an HTML file on disk, and the next time the hosting gives a static file.

Shared hosting does not guarantee a processor resource, and it is not measured at all. Some hosters have come up with an internal processor unit, such as 50 CPUs. The number does not allow you to somehow evaluate the load capacity of the server, but in this way, you can compare tariffs among themselves. This gives an understanding that a more expensive tariff is not only distinguished by available disk space, but also by an increased limit on the processor.

For guaranteed power they use virtual private servers - VPS / VDS. In this case, you get not just disk space for the site, but your own server. This means that you have your own operating system. On the OS, you can put any modules, programming languages, HTTP-servers, and databases. 

There can be some analogy between VPS and Shared: instead of a piece of disk space, you get a piece of the server. One real server is divided into dozens of virtual servers. Guaranteed resources are determined by the VPS parameters:

  • The processor clock speed in MHz, for example, 2900 MHz.
  • The number of processor cores: from 1 to 32 and above.
  • The amount of RAM.
  • Disk space

VPS hosting launches online stores and services. If you need a complete server, then this is called a dedicated server rental. A physical server passes to your control, on which you can install your OS.

Unlike Shared, a dedicated server needs to be independently administered, to monitor health and safety. If at night the server freezes and the site stops working, then only you are responsible for this. In the case of Shared hosting, technical support will see that the server crashed and restore its operation.

Hosting is used not only for websites, but it is also a remote server to run applications. Sites run on Linux, programs run on Microsoft Windows. Conveniently, the servers work 24 hours a day, do not make noise, and do not take up space in the room. On a remote server, you can run a program that should work without interruption, and not require large processing power. For example, Windows hosting is used for the work of exchange robots.

Conclusions

You need to carefully approach the choice of hosting provider services to host the site. After reviewing the available information, you can choose what the user needs in a particular situation: shared hosting or a VPS / VDS server. Both types of hosting have their pros and cons, choose what suits you best.

 Also read: Review on the best web hosting to best suit to your budget