What Is Web Hosting?
Web hosting is a service that rents you space on a server to store your website's files, so people all over the world can reach your website over the internet 24 hours a day.
Put simply, if a domain name is your website's "home address", web hosting is the "house" that holds all its belongings (the website files).
How Does Web Hosting Work?
Upload the files
You upload your website files (HTML, PHP, images, etc.) to the hosting server
Point the domain
Set the DNS so the domain points to the hosting server, linking the name to the space
Website goes live
When someone types the domain, the server sends the website files to display in their browser