Every website is made up of two parts; a domain name, and web hosting. The domain name is just the name of your site, like “xypnet.com” or “facebook.com.”
Web hosting is the space on a server where you store the data for your domain… all your pages, pictures, videos, etc. The server then allows your website to be accessed worldwide.
Without web hosting, all you have is a name. Think of it like having a street address without a house.