# Domain name

What is a domain name?

A domain name is the readable name of a website or service, such as `example.com`. You never own it outright: you register it through a registrar for a period of time, renew it before that period ends, and use [DNS](/glossary/dns) to point visitors and mail at your servers.

## How it works

A domain name is read from right to left. In `www.example.com`, `com` is the top-level domain, `example` is the name registered under it, and `www` is a subdomain. Each part is called a label. Once you hold `example.com`, you can create any subdomain you like in your own DNS, without registering anything.

Three parties are involved in a registration:

- The registry runs a top-level domain and keeps the authoritative list of every name registered under it.
- The registrar is the company you register and renew through. It passes your changes on to the registry.
- The registrant is you, the holder of the name.

The registry's record of each domain holds the registrar, the registration and expiry dates, status codes such as a transfer lock, and the name servers. You can read it over [RDAP](/glossary/rdap) or, at some registries, the older [WHOIS](/glossary/whois).

## Why it matters

Everything hangs off the domain: the website, email, APIs, your certificates and the links in every message you have sent. A server outage ends when the server is fixed. A lost domain may never come back.

## What can go wrong

- The registration expires because a renewal payment failed or the notices went to an address nobody reads. After expiry the domain can stop resolving, and once the grace periods (which differ per registry and registrar) have passed, someone else can register it.
- The contact address at the registrar is on the same domain, so once the domain lapses the warnings about it can no longer arrive.
- The transfer lock is off and the registrar account is compromised, and the domain is moved to another registrar.
- The name servers are changed at the registrar, by mistake or by an attacker, and all traffic follows.

## Check it

The [Domain & WHOIS lookup](/tools/domain-lookup) queries the registry over RDAP and shows the registrar, the registration and expiry dates, the transfer lock status and whether [DNSSEC](/glossary/dnssec) is enabled. Ranetrace's [domain monitoring](/features/domain-monitoring) re-checks the registration every hour and warns you before it expires or when its transfer lock changes.

Read this definition in a browser: https://ranetrace.com/glossary/domain-name
