When a hosting provider allocates space on a web server for a website to store its files, they are hosting a website. Web hosting makes the files that comprise a website (code, images, etc.) available for viewing online to the viewers or customers. Basically, it’s the sustaining platform for websites over the vast internet.