A very common problem for beginners is not to distinguish the difference between domain name and web hosting. It is very important to be aware of the differences between the two before developing your first website.
Put simply: Domain name is like the address of your home; web hosting, on the other hand, is the space in your house where you put your furniture.
Instead of the street name and area code, a set of words and / or numbers are used for naming your website. The same applies to hosting, the computer hard drive and computer memory are used instead of wood and steel for storing and processing data files. The idea is presented more clearly in the illustration below.
What is a domain name
When you register a domain, it gives you exclusive ownership and rights to the name of your site. No one else has access to the domain name except you.
Although you own a domain name, it does not mean you are ready to present your website to the global network. To present and manage your website, you will need a domain name and a suitable web server (hosting).
What is web hosting
Web hosting usually means a web server (large computer) that stores many data files).
Web hosting providers typically rent web servers and network connectivity to end users or retailers. In most cases, hosting providers will be those who deal with most server maintenance activities (such as backup, configuration, maintenance, crash recovery, etc.), but in most cases the end-user will also need to take over part of the administration of his server.