A domain name is the address that people use to access your website, while web hosting is the service that provides the server and resources necessary to make your website accessible on the internet. In other words, a domain name is like your website's street address, while web hosting is like the physical building that houses your website.