Many beginners don’t know that these are two separate things.
What is a Domain Name?
Domain name is the address of your website that people type in the browser’s URL bar to visit your website.
In other words, if your website was a house, then your domain name will be its address.
Now let’s get into the detailed explanation.
Internet is basically a giant network of computers connected to each other through cables. To easily identify them, each computer is assigned a series of numbers called IP Address.
Computers have no problem identifying and remembering these numbers. However, it is impossible for humans to remember and use these numbers to connect to websites on the internet.
To solve this problem, domain names were invented.
A domain name can have words which makes it easy to remember website addresses.
Now if you wanted to visit a website on the internet, you don’t need to type a string of numbers. Instead, you can type in an easy to remember domain name, for example, rayafeel.com.
To learn more about domain names, take a look at our beginner’s guide on domain names and how do they work.
What is Web Hosting?
Web hosting is the place where all the files of your website live. It is like the home of your website where it actually lives.
A good way to think about this is if the domain name was the address of your house, then web hosting is the actual house that address points to. All websites on the internet, need web hosting.
When someone enters your domain name in a browser, the domain name is translated into the IP address of your web hosting company’s computer. This computer contains your website’s files, and it sends those files back to the users’ browsers.
Web hosting companies specialize in storing and serving websites. They offer different types of hosting plans to their customers. See our article on WordPress hosting to learn more about choosing the right hosting for your website.