Domains

How To Configure Domain Nameservers

Learn how to change your domain's nameservers from your registrar's control panel to point your site to any hosting provider, quickly and without unnecessary downtime.

A student intensely studying under a desk lamp, surrounded by books, in a black and white setting.

To configure your domain's nameservers, log in to your registrar, find the "DNS" or "Nameservers" section for your domain, and replace the current values with the ones provided by your hosting company. Changes typically propagate worldwide within 1 to 24 hours.

Whether you just signed up for a new hosting plan or are moving an existing site to a different provider, updating your nameservers is the essential first step. This guide walks you through exactly how to do it, what to expect during propagation, and how to avoid the most common mistakes.

What Are Nameservers and Why Do They Matter?

Nameservers are the servers responsible for answering DNS queries for your domain. When someone types your domain into a browser, the internet's DNS system asks those servers: "What IP address does this domain point to?" and they respond with the answer.

Every hosting provider has its own nameservers. When you purchase hosting, you'll receive a pair — sometimes four — that look something like this:

  • ns1.yourhost.com
  • ns2.yourhost.com

Your registrar (where you bought the domain) stores those values. When you update them, you're telling the internet that the new hosting provider is now in charge of your domain's DNS.

Before You Start: What You'll Need

Gather the following before making any changes:

  • Your new hosting's nameservers. These are in your welcome email or inside the hosting control panel (cPanel, Plesk, etc.).
  • Login credentials for your registrar. You need access to the site where you registered the domain (GoDaddy, Namecheap, Neubox, etc.).
  • Your current DNS records if you have active email. Note down your MX, SPF, and DKIM records before switching — you'll need to recreate them on the new host to keep email working.
Tip: If your site currently receives traffic, the best time to make the switch is a Tuesday or Wednesday night. Propagation will complete while traffic is at its lowest.

Step-by-Step: Changing Nameservers at the Most Common Registrars

GoDaddy

  1. Log in to godaddy.com and go to "My Products".
  2. Click "DNS" next to the domain you want to configure.
  3. Scroll to the "Nameservers" section and click "Change".
  4. Select "Enter my own nameservers".
  5. Type in your hosting's nameservers (one per field) and save.

Namecheap

  1. Log in and go to "Domain List".
  2. Click "Manage" next to your domain.
  3. Under the "Domain" tab, find "Nameservers" and switch the dropdown to "Custom DNS".
  4. Enter the nameservers and click the green checkmark to save.

Any Other Registrar

The process is always the same: find the "DNS", "Nameservers", or "Name Servers" section in your domain's settings. All ICANN-accredited registrars are required to allow you to update your nameservers. If you can't find it, check their support documentation or contact their support team.

If you need help connecting your domain or migrating to reliable infrastructure, the team at elenlace.com can guide you through every step of the process.

How Long Does DNS Propagation Take?

Once you save the change, propagation is not instant. The time depends on the TTL set on your previous records and how long each DNS server around the world takes to refresh its cache.

Region Estimated Time
Mexico & Latin America 1 – 4 hours
United States 1 – 8 hours
Europe & Asia 4 – 24 hours
Full global propagation Up to 48 hours (rare)

To check if the change has propagated in your region, use tools like whatsmydns.net or dnschecker.org: enter your domain and see on a map which nameservers each part of the world is seeing.

Why Do Some Users See the New Site While Others See the Old One?

Because each ISP has its own DNS cache storing the old value. This is completely normal during the first few hours. Nothing is broken — you just need to wait for the caches to expire.

Common Mistakes and How to Avoid Them

  • Typos in the nameserver address. A single wrong character will break domain resolution. Always copy and paste from your hosting welcome email.
  • Saving with empty nameserver fields. Some panels let you save without values — this breaks the domain. Always enter at least two nameservers before saving.
  • Forgetting about email. If you use email on the same domain and switch nameservers, you must configure MX, SPF, and DKIM records on the new host. If you don't, incoming email will stop arriving.
  • Testing with a cached local DNS. Your computer may still have the old DNS entry cached. Test from your phone on mobile data, or use a VPN to see the real current state.

For more guides on DNS records and domain setup, visit our domains blog where we publish updated tutorials and comparisons.

Nameservers vs. DNS Records: What's the Difference?

This is a common point of confusion. Nameservers determine who answers DNS queries for your domain. DNS records (A, CNAME, MX, TXT…) are the actual instructions that server holds.

When you change nameservers, you're essentially transferring the "instruction book" to the new hosting. From that point on, the records that matter are the ones on the new server, not those at the registrar.

Concept What it does Where it's configured
Nameservers Indicates which DNS server has authority Registrar control panel
DNS Records (A, MX…) Defines what IP or server each service points to Hosting control panel (DNS zone)

Key Takeaways

  • Nameservers tell the internet which hosting provider controls your domain's DNS.
  • The change is made at your registrar, not at the hosting provider.
  • You need your hosting's nameservers before you start — they're in your welcome email.
  • Note your current MX records if you have active email, to avoid losing messages during the transition.
  • Propagation takes 1 to 24 hours; verify progress at dnschecker.org.
  • Always copy and paste nameserver values to avoid typos.

Ready to get started? The team at elenlace.com can help you migrate your domain and configure your DNS correctly from day one, with zero downtime for your site or email.

FAQ

Can I change nameservers if I have active email on that domain?

Yes, but you need to make sure the new hosting already has the correct MX records configured before you switch. Otherwise, incoming emails could be lost during propagation. Export or write down your current DNS zone before making any changes.

How many nameservers do I need to enter?

A minimum of two (ns1 and ns2). Most hosting providers supply exactly two, though some offer up to four for added redundancy. Enter all the nameservers your host provides.

What happens if I enter a wrong nameserver?

The domain will stop resolving for users whose DNS cache has expired. If you catch the error quickly (before full propagation), correct it in your registrar panel and most users won't notice anything. If it already propagated incorrectly, you may experience up to 24 hours of intermittent service while the correction propagates.

Can I use both my registrar's nameservers and my hosting's nameservers at the same time?

No. Only one set of nameservers can have authority over your domain at a time. If you prefer to manage DNS records at your registrar rather than your host, keep the registrar's nameservers and manually configure your A, MX, and CNAME records there instead of pointing to the hosting.

Useful resources

Other providers and guides worth comparing:

← All