100% Free Forever
AI-Powered Learning
Industry Expert Content
Certificates & Badges
Learn At Your Own Pace
Cloud

Nameserver

BeginnerConcept11.3K learners

A nameserver is a server that translates a domain name into the DNS records needed to route traffic, such as the IP address a browser should connect to or where email for that domain should be delivered.

Definition

A nameserver is a server that translates a domain name into the DNS records needed to route traffic, such as the IP address a browser should connect to or where email for that domain should be delivered.

Overview

When a domain is registered through a Domain Registrar, it needs to be pointed at a set of nameservers before it can actually resolve to a website or service. Nameservers hold the domain's DNS zone file — the collection of records (A, CNAME, MX, TXT, and others) that tell the internet where to find resources associated with that domain. Most domains use two or more nameservers for redundancy, often provided by the hosting company, a DNS service like Cloudflare, or the registrar itself. Changing a domain's nameservers effectively hands off DNS management to whichever provider they point to; this is why moving a website to a new host commonly involves updating nameservers at the registrar, then waiting for the change to propagate across the internet's DNS caches. Nameservers are a core piece of the DNS (Domain Name System), and understanding how they fit into domain and hosting setup is fundamental for anyone configuring a new website, a topic touched on in beginner cloud content like AWS for Beginners: Cloud Computing Fundamentals.

Key Concepts

  • Translates a domain name into DNS records like IP addresses
  • Holds a domain's DNS zone file, including A, CNAME, and MX records
  • Typically deployed in pairs or more for redundancy
  • Can be provided by a registrar, host, or dedicated DNS service
  • Changing nameservers reassigns which provider controls DNS
  • Changes propagate across the internet's DNS caches over time

Use Cases

Pointing a domain to a new web hosting provider
Delegating DNS management to a third-party DNS service
Configuring email delivery via MX records
Setting up subdomains for different services or environments
Migrating a website between hosts with minimal downtime

Frequently Asked Questions