Hosting a website is when a hosting provider gives space to a website for its files to be stored. Hosting makes files (code, images, etc.), that make up a website, available online. You can view them online. Each website that you have visited is stored on a server.
The type of hosting determines how much space is available on a server for a website. There are four main types of hosting: VPS, reseller, shared and dedicated. These hosting options are distinguished by the technology used to host the server and the level of management available.