Monday, September 21, 2026

What Is a Web Domain?

// internet

What Is a Web Domain?

A web domain is the human-readable name used to identify a location on the internet. Instead of remembering a numerical IP address, people can enter a name such as freelancecoder.uk into a browser.

// definition

A domain is an internet name

A domain name is a name registered within the Domain Name System, or DNS.

It gives people and software a memorable way to refer to websites, servers, email services and other internet resources.

For example:

freelancecoder.uk
// why domains exist

Computers and humans identify things differently

Internet systems communicate using numerical network addresses such as IP addresses.

Humans generally find names easier to remember.

Human-friendly: freelancecoder.uk Machine address: 216.239.32.21

DNS provides the system that connects domain names to the technical resources behind them.

// dns

DNS connects domain names to internet services

DNS stands for Domain Name System.

When someone enters a domain into a browser, DNS can be used to determine where that request should be sent.

freelancecoder.uk ↓ DNS ↓ IP address or another hostname ↓ Web server ↓ Website
// structure

A domain has different parts

Consider:

freelancecoder.uk

freelancecoder

The registered name chosen for the domain.

.uk

The top-level domain at the end of the name.

// top-level domain

What is a TLD?

TLD stands for Top-Level Domain.

It is the final part of a domain name.

.com .uk .org .net .dev .io .info .xyz
// country domains

Some TLDs represent countries

Country-code top-level domains are known as ccTLDs.

TLD Country or territory
.uk United Kingdom
.pt Portugal
.fr France
.de Germany
.es Spain
// subdomains

A domain can have subdomains

Consider:

www.freelancecoder.uk

Here:

www ↓ subdomain freelancecoder.uk ↓ registered domain

Other examples could include:

blog.example.com shop.example.com api.example.com docs.example.com

Different subdomains can point to different services.

// root domain

What is the root or apex domain?

The domain without a subdomain is often called the apex domain or root domain.

freelancecoder.uk

By comparison:

www.freelancecoder.uk

contains the www subdomain.

// domain vs url

A domain is not the same as a URL

A domain might be:

freelancecoder.uk

A complete URL might be:

https://www.freelancecoder.uk/contact

The URL contains additional information.

Part Example
Protocol https://
Hostname www.freelancecoder.uk
Domain freelancecoder.uk
Path /contact
// domain vs website

A domain is not the website itself

This is an important distinction.

Domain → the internet name Website → the pages, files and application Hosting → the infrastructure that serves the website

You can own a domain without having a website attached to it.

You can also move a website to another hosting provider while keeping the same domain name.

// registrar

Domains are registered through registrars

A domain registrar is a company authorised to register domain names for customers.

When a domain is available, you can register the right to use it for a particular registration period.

Choose domain ↓ Registrar ↓ Register domain ↓ Configure DNS ↓ Connect services
// registry

Registrars and registries are different

The registrar is normally the company through which the customer manages the registration.

The registry operates the database and infrastructure for a particular top-level domain.

Registrant ↓ Registrar ↓ Registry ↓ Domain Name System
// nameservers

Nameservers tell the internet where DNS records live

A domain is normally assigned authoritative nameservers.

These servers provide DNS information for the domain.

Domain ↓ Nameservers ↓ DNS records ↓ Website / Email / Other services

Changing nameservers can effectively move responsibility for managing the domain's DNS records to another provider.

// dns records

DNS records control where services point

Record Common purpose
A Points a name to an IPv4 address
AAAA Points a name to an IPv6 address
CNAME Aliases one hostname to another
MX Directs email delivery
TXT Stores text used for verification and policies
NS Identifies authoritative nameservers
// a record

An A record can point a domain to a server

freelancecoder.uk ↓ A record ↓ 216.239.32.21

An A record maps a hostname to an IPv4 address.

// cname

A CNAME can point one name to another

www.freelancecoder.uk ↓ CNAME ↓ ghs.google.com

This allows the www hostname to reference another hostname instead of directly containing an IP address.

// email

Domains can also be used for email

A domain is not limited to websites.

The same domain could also support addresses such as:

hello@example.com support@example.com accounts@example.com

DNS records can direct email traffic to a mail provider independently of where the website is hosted.

// https

A domain can be protected with HTTPS

HTTPS encrypts communication between a browser and a website.

http://example.com ↓ https://example.com

HTTPS normally uses a digital certificate associated with the domain or hostname.

The domain and the SSL/TLS certificate are separate things. Registering a domain does not itself create the website, although many hosting platforms automatically provide HTTPS certificates after the domain is connected.

// dns changes

DNS changes may not appear everywhere immediately

DNS information is cached by resolvers and other systems.

When a record changes, some systems may continue using the older cached information until it expires.

Old DNS record ↓ Record changed ↓ Caches expire ↓ New record becomes widely visible

This process is commonly described as DNS propagation.

// ttl

DNS records have a TTL

TTL means Time To Live.

It tells DNS resolvers approximately how long a record may be cached before it should be refreshed.

TTL: 3600 3600 seconds = 1 hour
// registration

Domain registrations must normally be renewed

A domain is generally registered for a defined period.

To continue controlling the domain, the registration normally needs to be renewed before it ultimately expires.

Register ↓ Use domain ↓ Renew ↓ Continue using domain
// ownership

"Buying" a domain is really a registration right

People often say they have bought a domain.

More precisely, they have registered the right to use that domain according to the rules of the relevant registry and registrar for as long as the registration remains valid.

// transfers

Domains can usually be transferred

A domain can often be moved from one registrar to another without changing the domain name itself.

Registrar A ↓ Domain transfer ↓ Registrar B

The website can remain on the same hosting platform if the DNS configuration continues pointing to the same destination.

// one domain

One domain can connect many services

example.com │ ├── www.example.com │ → website │ ├── api.example.com │ → API │ ├── shop.example.com │ → online store │ └── email@example.com → email service

DNS makes it possible for these services to be hosted in completely different places while sharing the same domain.

// domain + hosting

The domain and hosting can come from different companies

You do not normally have to register a domain with the same company that hosts the website.

Domain registrar ↓ DNS ↓ Website host

This separation is one of the most useful features of the Domain Name System.

// mental model

A simple way to think about domains

Domain

The memorable internet name.

DNS

The system that tells software where services are.

Hosting

The infrastructure that stores or runs the website.

HTTPS

The secure encrypted connection used to reach it.

// summary

A human-readable internet address.

A web domain is a registered name used to identify internet resources. DNS connects that name to websites, servers, email systems and other services. The domain, DNS, hosting and website are separate components that work together to make an internet service accessible.

What Is Python?

// programming What Is Python ? Python is a high-level, general-purpose programmi...