Leaven MKT

Domain vs hosting: what's the difference?

By , CEO of Leaven Marketing · Updated

A domain is your website's address, like example.com. Hosting is the server space where your website's files are stored. The domain tells browsers where to go; the hosting delivers the website when they get there. You need both, and you can buy them from the same company or from different ones. At Hostinger, many hosting plans include a free domain for the first year, and the coupon code JX9LEOSPEPWF takes 20% off the hosting for new customers.

Hostinger coupon code

JX9LEOSPEPWF

Paste it in the coupon field at checkout. The “O” is a letter, not a zero.

Affiliate link: we may earn a commission, at no extra cost to you. Learn more

Get hosting with a free domain and 20% off

Opens Hostinger with the code applied. Check for REFERRALDISCOUNT -20% in the order summary.

What is a domain?

A domain name is the human-friendly address people type to reach your site, such as leavenmkt.com. Behind the scenes, every server has a numeric IP address; the domain name system (DNS) points your name to that number, so nobody has to remember it.

  • You register a domain through a registrar for a year or more.
  • You keep the right to use it as long as you renew it.
  • A domain alone doesn’t show a website: it needs to point to hosting.

What is web hosting?

Web hosting keeps your website’s files, images, database and often email on a server connected to the internet 24/7. When someone visits your domain, the hosting server sends them your pages. The full explanation is in what is web hosting.

What is domain hosting?

“Domain hosting” is used in two ways:

  1. Domain and hosting together: a package where one company registers your domain and hosts your website. This is what most people mean, and many hosting plans include a free domain for the first year.
  2. DNS hosting: the service that stores your domain’s DNS records, such as where the domain points and the email settings. Registrars usually include it at no extra cost.

In both cases, “domain hosting” doesn’t store your website’s files by itself. For that, you need web hosting.

Domain vs hosting at a glance

DomainHosting
AnalogyThe street addressThe house
What it isA name that points to a serverSpace on a server for your files
Exampleexample.comA plan with storage, email and a panel
PaidYearly registrationMonthly or for a term of 1 to 4 years
Works alone?Only for redirects, email or parkingYes, but visitors need a temporary address
Where to buyRegistrars or hosting companiesHosting companies
Works with code JX9LEOSPEPWFNoYes, on eligible plans

How domain and hosting work together

  1. You register yourbusiness.com.
  2. You buy a hosting plan and get the server’s nameservers or IP address.
  3. In your domain settings, you point the domain to those nameservers.
  4. After DNS propagation, which can take from minutes to a few hours, visiting yourbusiness.com loads your website from the hosting server.

If both are at the same company, this connection is usually set up for you.

Should you buy your domain and hosting from the same company?

Same company: pros

  • One account, one bill, no DNS setup.
  • Many plans include the domain free for the first year.

Same company: cons

  • Moving hosts later means also transferring or re-pointing the domain.

Separate companies: pros

  • If you change hosts, the domain stays where it is; you only update DNS.

Separate companies: cons

  • Two accounts and two renewals to track, plus a DNS change at setup.

Our view: for a first website, buying both together is simpler and often cheaper. You can always transfer the domain later.

Can I have a domain without hosting?

Yes. You can register a domain to reserve the name, forward it to another site or use it only for email. To show a website on it, you’ll need hosting.

Can I have hosting without a domain?

Yes, but visitors would have to use a temporary address from your host. For any real project, you’ll want your own domain.

Get a free domain with hosting and code JX9LEOSPEPWF

The simplest way to start is a hosting plan that includes the domain:

  1. Choose a Hostinger plan with a free domain for the first year, such as Premium or Unlimited web hosting.
  2. Choose a 12-month or longer term: it’s needed for both the free domain and the coupon on these plans.
  3. Apply JX9LEOSPEPWF and check for REFERRALDISCOUNT -20% in the order summary.
  4. Claim your free domain after paying.

Domains bought on their own aren’t eligible for the coupon. The details are in the Hostinger domain coupon guide. Need more power than shared hosting? Read what is a VPS.

Sources

Read next

FAQ

What is domain hosting?

It usually means buying a domain name and web hosting together from one provider. Technically, it can also mean DNS hosting, the service that stores your domain's records.

What is the difference between a domain and hosting?

The domain is the address; hosting is the place where the website's files are stored. The domain points to the hosting server.

Do I need both a domain and hosting?

Yes, to run a website on your own address. A website builder may bundle both into one plan.

Is a domain free with hosting?

Often for the first year. At Hostinger, plans such as Premium and Unlimited web hosting include a free domain for the first year on a 12-month or longer term. After that, the domain renews at its normal price.

Can I move my domain to another host?

Yes. You can point it to the new host's nameservers or transfer the registration to another registrar.

Does the Hostinger coupon apply to domains?

No. Domain services aren't eligible for the referral discount. The coupon applies to hosting plans, many of which include a free domain for the first year.

Get hosting with a free domain and 20% off

Opens Hostinger with the code applied. Check for REFERRALDISCOUNT -20% in the order summary.