Hosting & Security • November 14, 2026 • 6 min read

Domain vs Hosting: What's the Difference? A Plain-English Guide

Ravindu Mahakumbura
By Founder & Lead Web Designer, Engage Lanka
Domain vs Hosting: What's the Difference? A Plain-English Guide
Quick Answer

A domain is your website's address, such as engagelanka.com. Hosting is the server, a computer that is always online, where your website's files, images and database are stored and sent to visitors. You need both for a website to work: the domain tells browsers where to go, and the hosting delivers the site when they get there.

If you are getting a website built for the first time, these two words come up in the first meeting and rarely get explained. They are separate products, usually paid for separately, and mixing them up is how many businesses end up locked out of their own website.

The simplest way to think about it

Think of your website as a shop. The domain is the shop's street address. The hosting is the building itself, where the stock is kept and customers walk in. An address with no building leads nowhere. A building with no address is impossible to find.

DomainHosting
What it isA unique name for your websiteServer space where the website lives
Exampleyourbusiness.lk or yourbusiness.comA shared, VPS or cloud server
Bought fromA domain registrarA hosting provider
PaidYearlyMonthly or yearly
If it lapsesSite and email stop working; the name can be lostSite goes offline; files can be deleted

What a domain actually is

Every server on the internet has a numeric address called an IP address. Numbers are hard to remember, so the Domain Name System (DNS) acts as the internet's phone book: it translates a name like yourbusiness.com into the IP address of the server that hosts it.

When you "buy" a domain, you are really renting the right to use that name, usually one to ten years at a time, through a registrar. The registrar records you as the owner (the "registrant") and lets you control the domain's DNS settings.

A domain has two parts that matter to a business:

  • The name: the part you choose. Short, easy to spell and easy to say over the phone works best.
  • The extension, or top-level domain: .com, .lk, .net and so on. For Sri Lankan businesses the main choice is .lk or .com, which we compare in .lk vs .com: which domain should you choose?

What hosting actually is

A website is a collection of files: pages, images, stylesheets, code and usually a database. Hosting is renting space on a server that stores those files and sends them to every visitor's browser, 24 hours a day.

Hosting plans differ in how much of the server you get and who looks after it:

  • Shared hosting: your site shares one server with many others. Cheap and fine for small brochure sites.
  • VPS hosting: a guaranteed slice of a server with its own resources. Better for online stores and busier sites.
  • Cloud hosting: resources spread across many machines that can scale up and down. Best for apps and sites with unpredictable traffic.

We explain the trade-offs in detail in shared vs VPS vs cloud hosting.

How the domain and hosting connect

Once both exist, you connect them through DNS. In practice that means one of two things:

  1. Change the domain's nameservers to the ones your host gives you, so the host manages all DNS records; or
  2. Add an A record (and usually a www record) at your registrar that points the domain to your host's IP address.

DNS changes can take anything from a few minutes to around 48 hours to spread across the internet. That delay is normal, not a fault.

What they cost in Sri Lanka

ItemTypical cost (LKR)Notes
.com domain4,500 – 8,000 a yearVaries with the exchange rate
.lk domainHigher than .comSet by the LK Domain Registry and resellers
Shared hosting12,000 – 45,000 a yearBrochure and small business sites
VPS or managed hosting60,000 – 250,000 a yearOnline stores, booking sites, apps

All our website packages include the first year of the domain, so you only start paying renewals from year two. For the full picture of build and running costs, see our website cost guide for Sri Lanka.

The ownership mistake to avoid

The most common problem we fix for new clients is not technical. It is that a previous developer registered the domain or hosting in their own name. When the relationship ends, the business cannot renew, move or even log in to its own website.

Before you pay a deposit to anyone, agree in writing that:

  • the domain is registered with your business as the registrant, using an email address you control;
  • the hosting account is in your name, or you receive full login details;
  • you can request the domain's transfer authorisation code at any time.

This is standard practice at Engage Lanka: you own the domain, the hosting and the code.

Do you need to manage any of this yourself?

Not usually. Most businesses let their web agency set up DNS, SSL and email, then keep an eye on renewals. What you should do yourself is keep the logins in a password manager and make sure renewal reminders go to an inbox someone actually reads.

Frequently asked questions

Can I have a domain without hosting?

Yes. You can register a domain and leave it parked, or use it only for email. Nobody can visit a website on it until it points to a hosting server.

Can I buy the domain and hosting from different companies?

Yes, and many businesses do. You point the domain at the hosting server by changing its DNS records. Keeping them separate also makes it easier to move hosts later.

Is email included with hosting?

Most shared hosting plans include basic email accounts on your domain. Many businesses use Google Workspace or Microsoft 365 instead for better spam filtering and reliability, which works with any host.

What happens if my domain expires?

Your website and any email on that domain stop working. Most registrars give a short grace period to renew, after which the domain can be released and registered by someone else. Turn on auto-renew and keep your billing details current.

Who should own my domain and hosting?

You should. Both accounts should be registered in your business name with your email address, even if an agency manages them for you. This protects you if you change agencies.

Sources and further reading

Need a website built properly?

Engage Lanka designs and builds fast, SEO-ready websites in Kandy for businesses in Sri Lanka and abroad, from LKR 55,000 for a 5-page site to custom booking and multilingual sites from LKR 250,000. You own the domain, hosting and code.

See web design packages or talk to us

Ravindu Mahakumbura

About Ravindu Mahakumbura

Ravindu Mahakumbura founded Engage Lanka in 2024 and leads its web design work, after years building websites and marketing systems inside Softmaster Technologies.