When a website stops working, the first question is often “is it the domain, the DNS or the hosting?”, and many business owners aren’t sure what the difference is. That is understandable: the three are often bought together, managed by a developer and only noticed when something goes wrong.
Knowing how they fit together makes you far less dependent on any one supplier, and helps you avoid some of the most expensive website problems, such as an expired domain or a site you can’t move. This guide explains each part in plain language.
The short answer
- A domain name is your address on the internet, such as
example.com. You register it, usually yearly, through a registrar. - DNS (the Domain Name System) is the directory that tells the internet where your domain’s website and email live. It is managed through DNS records.
- Hosting is the server where your website’s files and database actually live.
A useful comparison: the domain is your business name on the sign, DNS is the listing in the directory that gives your address, and hosting is the building itself. You can change one without changing the others, as long as you control the accounts.
Domain names
A domain is registered, not bought outright. You pay a registrar for the right to use it for a period, usually one to ten years, and renew it before it expires.
Things worth knowing:
- Registrars and registries are different. The registry runs a whole extension, such as
.comor a country code; the registrar is the company you deal with. ICANN’s information for registrants explains your rights as a domain holder. - Country-code domains may have extra rules, such as requiring a local business registration.
- Renewal prices are often higher than first-year prices. Check both.
- Privacy protection hides your personal details from public lookup records, where the extension allows it.
The most important rule: you should own the domain
Register the domain in your business’s name, in an account you control, with an email address you will always have access to. If a former developer, agency or employee registered it in their own account, transfer it to yours. Losing control of a domain can mean losing your website and email at the same time.
Also turn on auto-renew and keep payment details current. Expired domains can be taken by someone else after a grace period.
It is worth registering obvious variations too, such as common misspellings or the country-code version of your name, if they are affordable. You don’t need to build sites on them; simply redirect them to your main domain so nobody else can use them to confuse your customers.
DNS: the internet’s directory
When someone types your domain into a browser, their device asks DNS where to find it. DNS answers with the address of your hosting server. The same system tells email services where to deliver your mail.
DNS can be managed at your registrar, your host, or a separate DNS provider. Where it lives matters less than knowing where it is and having access.
Common DNS records
| Record | What it does | Example use |
|---|---|---|
| A / AAAA | Points a domain to a server’s IP address | Your website’s hosting server |
| CNAME | Points one name to another name | www pointing to your main domain |
| MX | Says which servers receive your email | Your email provider |
| TXT | Holds text, often for verification and email security | Search Console verification, SPF, DKIM, DMARC |
| NS | Says which DNS provider is in charge of the domain | Set at the registrar |
Email security records such as SPF, DKIM and DMARC help stop others sending email that pretends to come from your domain. They are worth setting up even for small businesses.
Propagation
When you change a DNS record, the change doesn’t reach everyone instantly. DNS answers are cached for a period set by each record’s TTL (time to live). Lowering the TTL a day before a planned change makes switches faster.
Hosting
Hosting is where the website runs. The main types:
| Type | What it is | Suits |
|---|---|---|
| Shared hosting | Many sites share one server | Very small, low-traffic sites |
| Managed WordPress hosting | Hosting tuned for WordPress, often with backups and updates | Most business WordPress sites |
| VPS or cloud server | Your own virtual server | Sites needing control or custom setups, with someone to manage the server |
| Static hosting and CDNs | Pre-built pages served from many locations | Fast, simple sites that don’t need a database on every visit |
Price is only one factor. Speed, support quality, backups, security and where the servers are located all matter. Our guide to choosing web hosting for speed covers this in detail.
Email is separate too
Your website and your email often share a domain but rarely need to share a provider. Many businesses host email with a dedicated email service and the website elsewhere. Keeping them separate means a hosting problem doesn’t take your email down with it, and moving host doesn’t risk lost messages.
Common mistakes
- The domain is in someone else’s account. Fix this first.
- No record of logins. Keep registrar, DNS and hosting access details in a password manager the business controls.
- Auto-renew is off, or linked to an expired card.
- Changing nameservers without copying records. Moving DNS to a new provider without copying every record, especially MX records, can stop email.
- Mixing up DNS and hosting when something breaks, and contacting the wrong supplier.
What to check today
- Where is your domain registered, in whose name, and when does it expire?
- Where is your DNS managed, and who can log in?
- Who hosts your website and your email, and what does each cost?
- Are SPF, DKIM and DMARC records in place for your email?
If you can’t answer one of these, that is the first thing to find out. Our guide to moving a website to a new host explains how these pieces change during a move.
Frequently asked questions
Can I keep my domain if I change web designer?
Yes, if the domain is registered in your name and account. If it is in the designer’s account, ask them to transfer it to you. Reputable providers will do this without fuss.
Does my domain extension affect SEO?
Not much in general. Country-code domains can signal relevance to a particular country, which helps if you mainly serve that market. A clear, memorable name matters more.
Why does my website work but my email doesn’t?
They depend on different DNS records. Website problems usually relate to A or CNAME records and hosting; email problems usually relate to MX records and the email provider.
What to do next
Spend fifteen minutes finding the login for your domain registrar and checking that it is in the business’s name with auto-renew on. That one check prevents one of the most damaging website problems.
When we launch a site through our website design and development service, we recommend keeping the domain, DNS and hosting in accounts you own, and we explain what each one does before launch day. Our website maintenance care plans include uptime monitoring, so problems are spotted quickly.