Web hosting:
It is the traditional method of hosting websites on physical servers in data centers. In this setup, the hosting provider allocates a certain amount of server resources (disk space, CPU, RAM, bandwidth) to one or more of her websites on a single server. Each website is assigned a fixed amount of resources and all share the same server.
Cloud hosting:
Cloud hosting, on the other hand, uses a network of virtual servers connected to a cloud infrastructure. This infrastructure is typically provided by a cloud service provider (Amazon Web Services, Google Cloud, Microsoft Azure, etc.). Websites and applications hosted in the cloud are not tied to a specific physical server but use pooled resources across the cloud infrastructure.
However, there is another type of Hosting which is called Managed Cloud Hosting, it is a type of hosting service where the cloud infrastructure and server management tasks are handled by the hosting provider. It combines the benefits of cloud hosting with the convenience of having the provider take care of the technical aspects of server maintenance, security, and optimization.