The Difference Between A Domain Name And Web Hosting

To make a website you must own a domain name and web hosting. But what’s a domain name? What’s a web hosting? Aren’t them the same?

It’s important that you are crystal clear on their differences before you move on to create your first website.

What is a Web Hosting?

A web hosting is a computer where people store their websites. Think of it as a house where you store all your stuffs; but instead of storing your clothes and furniture, you store computer files (HTML, documents, images, videos, etc) in a web host.

More often than not, the term “web hosting” refers to the company that rent out their computer/servers to store your website and provide Internet connectivity so that other users can access to the files on your website.

For most cases, these hosting companies will handle server maintenance work, such as backup, root configuration, maintenance, disaster recoveries, and so on.

To host a website

Web hosting companies: InMotion Hosting, SiteGround, A2 Hosting.

What’s A Domain Name

This is a domain name.

A domain is the address of your website. Before you can setup a website, you will need a domain.

To own a domain name, you need to register it with a domain registrar.

Domain name is not something physical that you can touch or see. It is a string of characters that give your website an identity (yes, a name, like human and businesses). Examples of domain name:,,,, as well as

All domain names are unique. This means there can be only one in the world. You cannot register a name once it is registered by others (governed by ICANN).

To search and register a domain name:

Domain name registrars: Name CheapGoDaddy.

Domain Name vs Web Hosting

Web Hosting and Domain Name Explained
The difference between web host and domain name.

To simplify: A domain name, is like the address of your home; web hosting on the other hand, is the space of your house where you place your furniture.

Instead of street name and area code, set of words or/and numbers are used for the website’s naming’. Computer hard disk and computer memory are used instead of instead of wood and steel for storing and processing data files. The idea is presented clearer with the diagram above.

Why the confusion?

One reason why newbies are confused is because domain registration and web hosting services are often offered by the same provider.

Conventional domain registrars that used to offer domain registration service only nowadays offer website hosting services. Most web hosting companies today have the facility to register a domain name for their users. In fact, many hosting providers are giving free (or almost-free) domain name away to win new customers.

Companies giving out free (or almost free) domains

Web hosting: InMotion Hosting (free domain for 1 year), GreenGeeks (free domain for 1 year), Hostgator (domain cost at $0.01 for 1 year).



Opinion: Should you buy domain and web hosting from the same company?

Should you purchase domain names and hosting services at the same place? My personal recommendation…

1- Never register your important domains with your web host 

I usually register my domains with Name Cheap and host them with a different hosting provider. This site you are reading, for example, is hosted at InMotion Hosting.

Doing so ensures that my domain remains in my hands in case anything go awry with my hosting provider.

It is much easier to move to a new hosting company when you register your domain with a third party. Otherwise, you wind up having to wait for your hosting company to release your domain. This can get tricky since they are also losing your hosting business.

2- But not everyone agrees…

But wait… that’s just me (I’m a dinosaur). Many webmasters do buy their domain and host it at the same place. And it’s okay – especially if you are residing at a reputable solution provider with good business track record. Here’s a different opinion quoted from Twitter:

So what if you have already registered your domain with the hosting company?

Well you have two options.

  1. Just live with it and do nothing.
  2. Transfer your domain name to a third party registrar.

For #2 – here’s the detail instructions on how to transfer your domain name to Name Cheap. And here’s how you can do it for GoDaddy. Basically all you need to do is

  1. Obtain the Auth/EPP code from your current registrar (in this case – your hosting company)
  2. Submit transfer request to the new domain registrar

Note that, as per ICANN’s Transfer of Registrations Policy, domains that are less than 60 days old or were transferred within the last 60 days cannot be transferred. You’ll have to wait at least 60 days before transferring.

Further Reading

We have covered A-to-Z in how to buy a domain name and the technical details of how web hosting work. These tutorials should be useful for those who are creating and hosting their website for the first time.

Also, here’s the list of hosting companies I have tested and reviewed in the past; and here’s my best 10 hosting picks.