What Is a Nameserver? A Simple Guide
You may have seen the word “nameserver” when you bought a domain or set up hosting. It sounds technical, but the idea is simple. This guide explains what a nameserver is and why it matters for your website.
The idea in one sentence
A nameserver is the server that knows where your domain lives. When someone types your web address, the internet asks your nameservers, “Where is this site?” The nameservers answer with the address of your hosting.
A simple picture
Think of a phone book. Your domain is a name in the book. The nameserver is the person who keeps the book and tells callers which number to dial. If you change who keeps the book, callers get their answers from someone new.
Why every domain has at least two
Domains use two or more nameservers. If one is busy or offline, the other still answers. Sulserv uses ns1.sulserv.com and ns2.sulserv.com.
What nameservers control
- Where your website points. The A record tells browsers which server holds your site.
- Where your email goes. MX records send mail to the right mail server.
- Other records, such as TXT records used to prove who may send mail for you.
Whoever runs your nameservers also runs these records. That is why changing nameservers moves all of them at once.
When you need to change nameservers
- You bought hosting and want your domain to use it.
- You are moving your site to a new host.
- You want one place to manage all your DNS records.
Our guide on pointing a domain to your hosting shows the steps. After a change, allow up to 48 hours for it to reach everyone.
How to see your current nameservers
Use our free WHOIS lookup tool and type your domain. The result lists the nameservers in use.
Nameservers and email
If you change nameservers, your email records change too. Before you switch, write down your existing MX and TXT records. Add them to the new DNS, or your email can stop working.
A worked example
Say you bought the domain mybakery.com and your hosting is with Sulserv. In your domain account you set the nameservers to ns1.sulserv.com and ns2.sulserv.com. From then on, anyone who asks the internet where mybakery.com lives is sent to those two servers. They hold your A record for the website and your MX records for email, and they reply with the right answers.
What can go wrong
- A typo in the nameserver name. Your site goes offline until you fix it. Copy and paste the names instead of typing them.
- Only one nameserver set. Always enter both, so there is a backup.
- Old records left behind. If you move DNS to a new place, copy your records first, or parts of your site or email can disappear.
- Expecting instant results. The change spreads across the internet over time, so a friend may see the old site for a while.
Nameservers versus DNS records
People often mix these up. The nameservers say who is in charge of your DNS. The DNS records are the answers that server gives. You can change a single record without touching your nameservers, which is useful when you only want to move your website but keep your email where it is.
FAQ
Is a nameserver the same as my hosting server?
No. The nameserver tells the internet where your hosting server is. The hosting server stores your site.
Can I use any nameservers I like?
Only nameservers that hold the DNS records for your domain will work. Use the ones from your host.
Do nameserver changes cost money?
Changing them is normally a free setting on your domain account.