Configuring your domain's DNS means telling the internet which server to reach when someone types your web address. It's the first required step after buying a domain or switching hosting providers.
This guide explains how DNS works, which records you need to edit, and how to do it in the most common registrars — no matter where you bought your domain.
What Are DNS and Why Do They Matter?
DNS stands for Domain Name System. It works like the internet's phonebook: it translates a human-readable name like mycompany.com into a numeric IP address like 198.51.100.42, which is what servers actually understand.
Misconfigured DNS means your website won't load, email won't arrive, and your business loses visibility. Getting it right from the start saves hours of troubleshooting later.
Most Common DNS Record Types
| Record | Purpose | Example |
|---|---|---|
| A | Points the domain to an IPv4 address | @ → 198.51.100.42 |
| AAAA | Points the domain to an IPv6 address | @ → 2001:db8::1 |
| CNAME | Alias for another domain name | www → mycompany.com |
| MX | Incoming mail server | mail.mycompany.com |
| TXT | Verification and SPF/DKIM | v=spf1 include:… |
| NS | Authoritative nameservers | ns1.yourhost.com |
Option A: Change Nameservers (The Simplest Method)
Changing nameservers hands full DNS control to your hosting provider. This is the recommended option when you're using the same provider for both domain and hosting.
- Log in to the control panel where you bought your domain (GoDaddy, Namecheap, Name.com, etc.).
- Find the Nameservers section.
- Select Custom Nameservers.
- Enter the nameservers your hosting provider gave you. Example:
ns1.yourhosting.com
ns2.yourhosting.com - Save the changes and wait 15 minutes to 48 hours for propagation.
Advantage: once done, any future adjustments (email, subdomains, etc.) are made from the hosting panel — no need to touch the registrar again.
Option B: Edit Individual DNS Records
If you want to keep your nameservers at the registrar but point only the website to a different server, edit just the A record (and optionally the www CNAME).
- In the registrar panel, find DNS Management.
- Edit (or create) an A record for host
@and enter your hosting server's IP address. - Edit the CNAME record for host
wwwand point it to@or the root domain. - If you're using hosting email, add or update MX records with the values your provider specifies.
- Save and wait for propagation.
How Long Does DNS Propagation Take?
Propagation is the time it takes for changes to become visible worldwide. It depends on the TTL (Time to Live) set on your records:
- Low TTL (300 sec / 5 min): changes visible in 15–30 minutes.
- Standard TTL (3,600 sec / 1 h): 1–4 hours.
- High TTL (86,400 sec / 24 h): up to 48 hours.
If you're planning a migration, lower the TTL to the minimum allowed value (usually 300) at least 24 hours before the change. This cuts the wait to a minimum.
Step-by-Step for Popular Registrars
GoDaddy
- Sign in → My Products → select your domain.
- Click DNS → Manage Zones.
- Edit the A, CNAME, or NS records as needed.
Namecheap
- Sign in → Domain List → Manage.
- Go to the Advanced DNS tab → edit or add records.
- To change nameservers, go to the Domain tab and choose Custom DNS.
Google Domains / Squarespace Domains
- Sign in → select your domain → DNS.
- Under Custom records, add or edit your A and CNAME records.
- To use custom nameservers, scroll to the Name servers section and switch to custom.
Working with a professional web agency means you can delegate the entire DNS setup process and avoid costly mistakes during migrations.
Common DNS Configuration Mistakes
- Pointing www and @ to different servers unintentionally, so only one version loads.
- Forgetting MX records during a migration, stopping email for hours.
- Not lowering TTL before a migration, causing up to 48 hours of wait time.
- Leaving stale SPF/DKIM records that send your email straight to spam.
- Confusing CNAME with A: a CNAME cannot be used at the root domain (
@) in most standard DNS setups.
How to Verify Your DNS Is Configured Correctly
Use free tools to confirm your changes have propagated:
- DNSChecker.org — shows propagation status across dozens of global locations.
dig mydomain.com A— from a Linux/Mac terminal.nslookup mydomain.com— works on any operating system.- MXToolbox — verifies MX, SPF, and DKIM records.
Browse the hosting and domains glossary to understand other technical terms related to DNS and web infrastructure.
Key Takeaways
- DNS connects your domain name to the server where your website lives.
- Changing nameservers is the simplest approach when using the same provider for domain and hosting.
- Editing A/CNAME records individually gives you more control when services are spread across multiple servers.
- Lower your TTL at least 24 hours before a migration to minimize propagation delays.
- Always verify changes with DNSChecker or
digonce you've made edits. - Don't forget MX and TXT (SPF/DKIM) records if you also rely on corporate email.
Ready to migrate your site without any downtime? The team at elenlace.com can handle the entire DNS change for you and make sure your email and website keep running without a hitch.
FAQ
How long does a DNS change take to work?
Between 15 minutes and 48 hours, depending on the TTL in place. If you lower the TTL to 300 seconds before making the change, propagation typically completes in under an hour.
Can I have my domain at one registrar and hosting at another?
Absolutely — this is very common. Simply point your domain's nameservers or A record to the IP or nameservers provided by your hosting company, regardless of which company registered the domain.
What happens if I misconfigure my DNS?
Your website will fail to load or will load the wrong site, and your email may stop working. If this happens, double-check that the IP in your A record matches the one your hosting provider gave you, then wait out the current TTL for changes to propagate.
Do I need technical knowledge to configure DNS?
Not really. With this guide and the details your hosting provider gives you (server IP or nameservers), you can do it yourself in under 10 minutes. If you'd rather delegate the task, a specialist agency can handle it for you.
Further reading
Other providers and guides worth comparing: