Once you’ve purchased a domain name, the files that hold your website’s content (HTML, CSS, images, databases, etc.) need to be stored together in a location connected to the internet — a web server. Once the website’s files are uploaded to a hosting company’s web server, the host is then responsible for delivering the files to users.
We’ve mentioned that hosting makes websites available for people to visit through their web browser, but how does that work exactly? The domain name system (DNS) makes sure that website browser connects to the right computer (server) that stores your website files.
In other words: when someone types in your web address into their browsers, their computer connects through the internet to the web server holding your website files. It locates your domain’s IP address (where it’s stored on the domain name system) and directs the users to the right website. Their browser will then show your website information (all the data that makes your pages) so that they can browse your web pages anytime.