ARTICLE - Domain Industry

What Is a Domain Name: Structure, Registration, Domain/IP/DNS Relationships, and Whois Basics

Many people confuse a domain with a URL and do not know a registered domain still needs resolution. Learn what a domain is, its structure, its relationship with IP and DNS, how to register, and what Whois is.

2026-08-12 16IDC Original

What Is a Domain Name: Structure, Registration, Domain/IP/DNS Relationships, and Whois Basics

Many people cannot tell the difference between a "domain" and a "URL," and do not know that a registered domain still needs "resolution" to be reachable. This guide starts from zero: what a domain is, how it is structured, its relationship with IP and DNS, how to register one, and what Whois is. To follow industry news, check the domain industry category.

1. What a Domain Is: Your Address on the Internet

A domain name is a human-friendly "address" that maps to the machine-readable IP address. Servers are located by IP addresses (e.g., 203.0.113.10), but nobody remembers strings of digits, so names like example.com exist. Type a domain, and the browser finds the right server. Two common words to keep straight: a URL is the full address (e.g., https://example.com/about), and the domain is just the "name" part; people mix them up, but strictly a domain is one component of a URL. To think through a name before buying, see domain naming strategy.

2. Domain Structure: Read from Right to Left

Take www.example.com and read from right to left:

  • Top-level domain (TLD): .com, .org, .cn, etc., indicating type or country/region. For choices, see the TLD comparison;
  • Second-level domain (the registered part): example — this is what you actually "register," and it usually cannot duplicate others;
  • Host/subdomain: www — a hostname under your domain that you can add or remove freely.

The whole hierarchy is like an address book: the TLD is the category, the second-level domain is the "street name," and the subdomain is the specific "house number," narrowing down step by step.

3. Domain, IP, and DNS

  • IP address: the server's real address; machines communicate with it;
  • Domain: the name for humans;
  • DNS (Domain Name System): the "lookup table" that translates a domain into an IP. Like a contacts app: you know the name (domain), DNS finds the phone number (IP).

This process is called resolution. When you visit example.com, the browser first asks DNS which IP the domain maps to, then connects to the server. A full resolution may traverse local cache, recursive servers, and authoritative servers, but it usually completes in tens of milliseconds — imperceptible to users. If resolution breaks, the site is unreachable — troubleshooting steps are in domain resolution troubleshooting. For extra security, read about DNSSEC.

4. Five Steps to Register a Domain

  1. Check availability: search whether your desired domain is taken;
  2. Choose a registrar: compare prices, renewal prices, and management experience — see the registrar selection guide;
  3. Provide registration info: real contact details are required by ICANN;
  4. Set up resolution: point A/CNAME records to your server so the site is reachable;
  5. Track renewal: domains are "rented" by the year — do not let it expire. The full process is in the domain purchase guide.

Tip: right after registering, enable auto-renewal and privacy protection, and keep the domain and server in different accounts or providers to reduce single points of failure. Run through the domain checklist before starting — it saves a lot of trouble.

5. What Is Whois?

Whois is a public database for querying domain registration information — registrar, registration date, expiry date, and more. Note that under privacy rules, registrant info for many TLDs is hidden by the registrar (privacy protection), so public queries often show only the registrar and expiry. To protect your privacy, see Whois privacy protection setup. Before buying a domain aftermarket, checking its expiry and registration status via Whois is standard practice.

6. Common TLDs at a Glance

TLD Meaning Typical use
.com Commercial Global, the most popular
.net Network Tech / network sites
.org Organization Non-profits
.cn China China-facing
.io British Indian Ocean Territory Tech / developer products

No TLD is absolutely better or worse — what matters is fit with the brand and target audience. For registration policies and price differences, see the TLD comparison. One more note: new TLDs like .app, .dev, and .ai are growing; check renewal prices and policies before registering so you avoid "cheap first year, doubled renewal."

  • Q: Does registering a domain automatically give me a website:No. A domain is only an "address." You still need a server and resolution settings to publish a site.
  • Q: Can I own a domain forever:Domains are rented by the year; as long as you keep renewing, it stays yours. If you stop renewing, it is eventually released. To switch registrars, see the domain transfer guide.
  • Q: What if my preferred .com is taken:Try other mainstream TLDs, or consider buying it — but prices can be high, so do naming planning first.
  • Q: Is it risky if my domain info is public:Public Whois can expose registrant names and emails, inviting spam and phishing. Most registrars offer free privacy protection — enable it. See Whois privacy protection setup.

Integration & Code Examples

Example 1: Look up registration data with WHOIS and RDAP

# Classic WHOIS: plain text served on port 43
whois example.com | sed -n '1,20p'

# Modern RDAP: the same facts as structured JSON
curl -sS https://rdap.verisign.com/com/v1/domain/example.com |
  jq '{domain: .ldhName,
       status,
       registrar: [.entities[] | select(.roles | index("registrar")) | .handle][0],
       events: [.events[] | {eventAction, eventDate}]}'

# Note: privacy services may replace registrant details with a proxy

Both describe registration data rather than whether the site is reachable, and RDAP output is far easier to script against.

Example 2: See how a domain resolves to an IP address

D=example.com

# IPv4: the most common pointer for a website
dig "$D" A +short

# IPv6: only present when AAAA records are configured
dig "$D" AAAA +short

# Who answers for the zone
dig "$D" NS +short

# All answers at once, handy for a quick sanity check
dig "$D" +short

A records carry IPv4, AAAA carry IPv6 and NS shows who answers for the zone; +short keeps only the answer, which is the fastest way to confirm a domain really points at a given server.

Three layers: domain name, IP address and URL

The three terms get mixed up, but they have different owners: the IP is assigned by the host, the domain is registered with a registrar and maintained by a registry, and the URL path is defined by the site itself. Changing one layer has a different blast radius.

Moving servers only changes resolution: the domain stays put and the A record points to the new IP. A lapsed domain works the other way round — the site files remain, but the sign above the door is reclaimed and visitors cannot find the entrance.

Registering a domain is not the same as having a website. Only after resolution is configured can a browser follow the A/AAAA record to a server; without that step, HTTP and HTTPS never come into play.

Object Example Who decides it Effect of a change
IP address 203.0.113.10 assigned by the host moving servers requires a DNS change
Domain name example.com registered at a registrar, maintained by a registry reclaimed if not renewed
Subdomain www.example.com added or removed by the domain holder affects only that subdomain
URL https://example.com/about path defined by the site changing the path breaks indexed links

Limitations

  • Track renewal: domains are "rented" by the year — do not let it expire.
  • This article reflects public information as of 2026-08-12; terms, prices and quotas follow the provider's current published terms.
  • Third-party capability and limit statements follow their official documentation; no further commitment is implied here.
  • Licensing, filing and data-residency decisions must be verified against the regulations of your operating region.

FAQ

Whois or RDAP - which is better for batch lookups?

RDAP, when you need structured output. Whois returns plain text over port 43, RDAP returns JSON that suits scripts; both serve registration data and say nothing about whether the site opens, and privacy protection hides the registrant either way, so check status and expiry first.

How long from registering a domain to a live site?

The same day, depending on DNS and certificates. The five steps are checking availability, picking a registrar, filling in registration data, pointing an A or CNAME record at the server, and confirming renewal; a lookup usually returns within tens of milliseconds, while issuance and caching take longer.

The A record exists but the site is down - which to debug first?

Start with dig to confirm what actually resolves. dig example.com A +short should return the expected IP, then dig NS shows whether the authoritative servers are the ones you edited, and IPv6 sites need an AAAA check; A and CNAME cannot share a hostname, and changes wait for the TTL.

Related Providers

  • GoDaddy: when first-year and renewal prices for several suffixes must be compared alongside aftermarket quotes.
  • Namecheap: when registration should include free WHOIS privacy and basic DNS for a small domain count.

Community & Resources

Official docs and communities

  • IANA Root Zone Database — Authoritative list of every TLD and its operator
  • RFC 1035 — DNS implementation and formats: record types, messages, label limits
  • RFC 3912 — WHOIS protocol specification behind port 43 lookups
  • RFC 8499 — DNS terminology: recursive, authoritative and caching resolvers

Learning resources and tools

Original source: 16IDC Original ↗