Short answer: A domain is your website's address, the name people type (like buildearnai.com). Hosting is the computer that keeps your website online and stores its files. You need both for a normal website: the domain points visitors to the hosting, and DNS connects the two. A .com renews at about $20 a year, and basic hosting starts at a few dollars a month; many hosting plans include the domain free for the first year.
🎁 Domain + hosting in one place
Hostinger Premium is $1.99/mo and Unlimited $2.79/mo on 48 months, with a free domain for year 1 (Black Friday prices, Nov 12, 2026). Code LEARN2EARN takes another 10% off.
Domain vs hosting: the difference at a glance
| Domain | Hosting | |
|---|---|---|
| What it is | The name people type | A server that is always on |
| What it holds | Nothing, it only points somewhere | Your files, images and database |
| Who sells it | A registrar (Hostinger, Namecheap…) | A web host (Hostinger, hosting.com…) |
| How you pay | Yearly rent | Monthly, paid for 1–4 years upfront |
| Typical price | .com ≈ $19.99/yr renewal | From $1.99/mo (renews $10.99/mo) |
| Without the other | Shows nothing | Works, but only on a temporary address |
What is a domain?
A domain is the name of your website. You don't buy it forever: you rent it, usually one year at a time, from a company called a registrar. Hostinger is an ICANN-accredited registrar with 500+ extensions, and on November 12, 2026 a .com on Hostinger's domain search was $0.01 for the first year on a 3-year term and $19.99 a year after that. The ending you choose matters for the price: .shop and .store are $0.99 the first year but renew at $39.99 and $54.99.
What is web hosting?
Hosting is a computer in a data center that is on 24/7 and connected to the internet. Your website's files, images and database live there. Shared hosting, where your site shares a server with others, is the cheapest kind and is managed for you; it's enough for most business sites, blogs and portfolios. Hostinger's shared plans start at $1.99 a month on 48 months. If you need to run your own software, like n8n or AI agents, you'd move to a VPS instead (see shared hosting vs VPS).
Domain vs hosting with an example: the shop
Think of a shop. The domain is the street address on the sign. The hosting is the building where the shop actually is. An address with no building shows nothing, and a building with no address is very hard to find. You need the address to point at the building.

How they connect: you type the domain, DNS finds the server, and the server sends the website.
How a domain connects to hosting (DNS and nameservers)
When someone types your domain, a system called DNS looks up which server it points to, and the browser loads your files from that server. You connect them with two settings called nameservers (or an A record). If you buy the domain and the hosting at the same company, it sets the nameservers for you. If they're at different companies, you copy the host's two nameservers into the registrar's dashboard once.
If I have a domain, do I need hosting?
For a website, yes. A domain alone can't show anything. There are two exceptions: you can use a domain only for email (with an email service), or point it to a free host like a site builder. For a business website you want a real host with SSL, backups and support.
Can I register a domain without hosting?
Yes. Many people buy a domain first to reserve the name and add hosting later. Just remember the domain renews every year, so turn on auto renew. Read Hostinger domain prices: first year vs renewal before you pick an ending.
Domain registrar vs hosting company: same or separate?
| Same company | Separate companies | |
|---|---|---|
| Setup | ✅ Automatic | Change nameservers once |
| Bills | ✅ One account | Two accounts |
| Free domain year 1 | ✅ With many hosting plans | ❌ Usually not |
| Moving host later | Easy (point the domain elsewhere) | ✅ Easiest |
For a beginner, one place is simpler and the free first-year domain saves about $20. If you already own a domain somewhere else, keep it there and just point it to your new host.
How much do a domain and hosting cost together?
With Hostinger on November 12, 2026: Premium is $1.99/mo on 48 months ($95.52) and Unlimited $2.79/mo ($133.92), both with the domain free for year 1. With code LEARN2EARN, Unlimited drops to $2.51/mo ($120.53). Then the hosting renews at $10.99 or $16.99 a month and the .com at $19.99 a year. Our hosting cost calculator adds the renewals up for you, and how much it costs to host a website compares 7 hosts.
Get Hostinger with a free domain
What about email at my own domain?
Email like you@yourdomain.com usually comes with the hosting plan or with a separate email service, not with the domain alone. Hostinger Premium includes mailboxes; see Hostinger email hosting for the limits and renewal prices.
FAQ
What is the difference between a domain and a website?
The domain is the address. The website is the pages, images and code, and they live on the hosting.
Is DNS the same as domain hosting?
No. DNS is the phone book that says which server your domain points to. Your registrar or host runs the DNS for you; hosting is where the website itself is stored.
Can I move my domain to another host later?
Yes. You can point the domain to a new host by changing the nameservers, or transfer the domain itself to another registrar (a .com transfer is $9.99 at Hostinger).
Which should I buy first?
If the name matters, reserve the domain first. If you're ready to build, buy hosting with a free domain and get both at once.
Watch the 2-minute video: Domain vs Hosting Explained for Beginners, the first part of our Website Basics series. Next: which type of hosting you need and how to make a website step by step.
Search your domain on Hostinger
Checked on November 12, 2026, on hostinger.com (US location, US dollars, before tax). Black Friday prices are limited-time; the cart shows the final price.