What is Domain?
A domain name is essentially your website’s equivalent of a physical address. In the same way that a GPS needs a street address or a zipcode to provide directions, a web browser needs a domain name to direct you to a website.
A domain name takes the form of two main elements. For example, the domain name Facebook.com consists of the website's name (Facebook) and the domain name extension (.com). When a company (or a person) purchases a domain name, they’re able to specify which server the domain name points to.
How Do Domains Work?
Domain names work by acting as a shortcut to the server that hosts your website.
Without a domain name, anyone who wanted to visit your website would have to enter the full IP address. But the problem is that an IP address is difficult for people to memorize or to include on advertising materials.
In our case, Hostinger.com is the domain name. Let’s say it points to the IP address 100.90.80.70. The IP address points to a server, but it doesn't resolve the website if visitors try to use it. That’s because for an IP address to resolve a website, the remote server needs to be using port 80 with a default page (i.e. index.html) stored in its web-apps directory.
As you can see, messing around with server defaults and IP addresses can be both confusing and time-consuming. That's why the vast majority of website owners opt to utilize a service like Hostinger which offers bundled domain names with annual web hosting packages.
What is Web Hosting?
Web hosting is an online service that enables you to publish your website or web application on the Internet. When you sign up for a web hosting service, you basically rent some space on a physical server where you can store all the files and data necessary for your website to work properly.
How Web Hosting Works?
A server is a physical computer that runs without any interruption so that your website is available all the time for anyone who wants to see it. Your web host is responsible for keeping that server up and running, protecting it from malicious attacks, and transferring your content - such as text, images, files, etc. - from the server to your visitors’ browsers.
When you decide to start a new website, you need to find a web hosting provider that will supply you with that server space. Your web host stores all your files, assets, and databases on the server. Whenever someone types your domain name into the address bar of their browser, your host transfers all the files necessary to serve that request.
Therefore, you need to choose a hosting plan that best fits your needs. In fact, it works similarly to housing rentals - you have to pay the rent regularly in order to keep the server running continuously.
Types of Web Hosting:
Most web hosts offer different types of hosting so that they can serve the needs of different clients - whether you want to build a simple personal blog or own a large online business and are in a dire need of an intricate company website. Here are the most popular options available:
- Shared hosting
- VPS hosting
- Cloud hosting
- WordPress hosting
- Dedicated hosting