A Beginner’s Guide to Nameservers
When someone types your domain name into a browser, how does the browser know which server contains your website? The answer involves nameservers.
Nameservers work behind the scenes to connect a domain, such as yourbusiness.com or a Nigerian domain, to the correct hosting service. You do not need to become a DNS specialist to use them, but understanding the basics can help you launch a website, move hosting providers and avoid common setup problems.
This guide explains what nameservers are, how they differ from domain names and hosting, and what to check before changing them.
What are nameservers?
Nameservers are specialised servers that tell the internet where to find the DNS records for a domain name. DNS stands for Domain Name System. It translates human-readable domain names into the technical information computers use to locate websites and other online services.
For example, when a visitor enters example.com in a browser, the domain’s nameservers help direct the request to the DNS system responsible for that domain. The DNS records then provide information such as:
- Which server hosts the website
- Where email for the domain should be delivered
- Which services are authorised to send email
- Whether a subdomain should point to another service
A simple way to think about nameservers is to treat them like a signpost. Your domain is the address people remember, while the nameservers point internet services towards the records that explain where the website and email are located.
Nameservers, domains and hosting: what is the difference?
These three terms are connected, but they are not the same.
Domain name
A domain is the address people use to reach your website. It might be your company name, a personal brand or an organisation’s name. Registering a domain gives you the right to use that address for the registration period, provided it is renewed and kept in good standing.
Web hosting
Web hosting is the service that stores your website’s files and makes them available online. A hosting account may contain your website files, databases, SSL configuration, backups and other resources.
Nameservers
Nameservers connect the domain’s DNS management to the DNS service that contains its records. If your domain uses the nameservers provided by your hosting company, that hosting company will usually manage the main DNS zone for the domain.
Domain registration and hosting can be purchased from the same provider or from separate providers. The important issue is that the domain points to the correct DNS service and that you retain access to the accounts controlling it.
What do nameservers usually look like?
Nameservers are normally written as hostnames, such as:
- ns1.examplehost.com
- ns2.examplehost.com
Your hosting provider supplies the exact nameservers to use. They may contain the provider’s brand, or they may use a domain created specifically for its DNS service. Nameservers are not the same as IP addresses, although the nameserver system eventually helps direct requests to IP addresses and other DNS destinations.
Most hosting services provide at least two nameservers. Using more than one helps provide continuity if one nameserver is temporarily unavailable, although the exact design depends on the provider.
When do you need to change nameservers?
You may need to update nameservers in several situations:
- You registered your domain with one company and bought hosting from another.
- You are moving an existing website to a new hosting provider.
- A developer or agency originally configured the domain and you want to manage it yourself.
- You are setting up a new website for your business or organisation.
- Your provider has asked you to move to new DNS servers.
For a new domain and a new hosting account, the process is usually straightforward: obtain the correct nameservers from the hosting provider, enter them at the domain registrar and wait for the DNS changes to take effect.
How to update nameservers safely
1. Confirm where the domain is registered
First, identify the company where the domain was registered. This may be different from the company hosting the website. You will need access to the domain registrar account, not just the hosting control panel.
If a former employee, developer or agency registered the domain, make sure your organisation has the login details and that the registration information is accurate. Losing access to a domain can create serious problems for a website, business email and customer communications.
2. Obtain the correct nameservers
Ask your hosting provider for the exact nameserver addresses for your hosting plan. Copy them carefully. A small spelling error can prevent the domain from resolving correctly.
Do not guess nameservers based on another customer’s website or an old setup guide. Providers can change their DNS arrangements, and different hosting services may use different nameservers.
3. Record the existing DNS settings
Before making changes, save a copy or screenshot of the current DNS records. This is particularly important if the domain already has business email, verification records or subdomains.
Changing nameservers can move control of the domain’s DNS records from one provider to another. If the new DNS zone does not include the necessary email records, website email may stop working even if the website itself loads normally.
4. Enter the new nameservers at the registrar
Log in to the domain registrar, find the domain management or nameserver section, and replace the existing nameservers with the new ones. Save the change and check that the values displayed afterwards are correct.
Some registrars use labels such as “Custom nameservers”, “Use my own DNS” or “Change DNS servers”. The wording varies, but the purpose is the same.
5. Allow time for the change
Nameserver changes are not always visible everywhere immediately. Different internet providers, devices and DNS resolvers may temporarily hold older information in their cache. As a result, one person may see the new website while another still sees the old one.
Avoid repeatedly changing the nameservers because the website does not appear instantly. Check the settings first, then allow the DNS change time to spread. If the problem continues, contact the domain or hosting provider and provide the domain name and the exact nameservers you entered.
Nameservers and business email
A common mistake is to focus only on the website during a hosting change. Your domain may also support addresses such as [email protected] or [email protected].
Email delivery depends mainly on DNS records, including MX records. If you change nameservers and the new DNS zone does not contain the correct MX records, incoming email may be delayed or delivered incorrectly. Other records can also matter, including SPF, DKIM and DMARC records used to help authenticate outgoing email.
Before changing nameservers, list the services connected to the domain:
- Website hosting
- Business email
- Payment or booking tools
- Subdomains
- Website verification services
- Marketing and email delivery platforms
This short inventory can prevent an unexpected interruption. If you are unsure which records are needed, ask your current email provider or hosting support team before making the change.
Common nameserver problems
The domain shows an error page
This may happen if the nameservers are incorrect, the DNS records are missing or the hosting account is not configured for the domain. Check the spelling and confirm that the domain has been added to the correct hosting account.
The website works, but email has stopped
This often points to missing or incorrect mail records in the new DNS zone. Restore the required email records or ask the email provider for the correct settings.
Only some people see the new website
This can be normal while DNS information is being refreshed. Check the configuration before assuming the change failed.
The domain is not under your control
If you cannot access the registrar account, work on recovering ownership and account access before attempting technical changes. A business should keep control of its domain, hosting and email rather than relying entirely on a former employee or third party.
A practical example
Imagine a Nigerian business has its domain registered with one company but decides to host a WordPress website with a new provider. The business receives two nameservers from the new hosting company and updates them at the registrar.
Before the change, the business records its existing email and verification records. After the change, it confirms that the domain points to the new website and that messages to its domain-based email addresses are still arriving. If the website loads but email does not, the next step is to check the MX and related mail records rather than changing the nameservers again.
This approach is especially useful for small businesses and entrepreneurs who need a reliable website without turning every technical change into a major disruption.
What to remember
Nameservers are the connection between your domain and the DNS records that direct website, email and other online services. You usually change them when setting up hosting or moving a website, but the change should be planned carefully.
Keep access to your domain registrar, record existing DNS settings, confirm the correct nameservers with your provider and check both your website and business email afterwards. With those precautions, nameservers become a manageable part of running a professional online presence rather than a confusing technical obstacle.
