When a hosting provider allocates space on an online server for an online site to store its files, they’re hosting an online site. Web hosting makes the files that comprise an online site (code, images, etc.) available to view online. Every website you’ve ever visited is hosted on a server.
The amount of space allocated on a server of an online site depends on the type of hosting. The foremost kinds of hosting are shared, dedicated, VPS and reseller. They’re differentiated by the sort of technology used for the server, the extent of management provided and thus, the extra services on offer.