Key takeaways
- There are two ways to connect a domain — change its nameservers, or keep your DNS provider and edit individual records.
- Nameserver changes move all DNS to the new provider; record changes affect only the records you edit.
- Changes appear as cached answers expire, usually within the old TTL; nameserver changes can take up to 48 hours.
Registering a domain and buying hosting are two separate steps. To make your website load at your domain, you need to tell the internet where that hosting lives. There are two ways to do it.
Option 1: Change the nameservers
Nameservers are the servers that hold your domain’s DNS records. Pointing your domain to your host’s nameservers hands all DNS management to the host.
- Find the nameservers in your hosting welcome email or client area. They usually look like
ns1.provider.netandns2.provider.net. - Open the domain’s management page at your registrar and choose Nameservers.
- Replace the existing nameservers with your host’s, then save.
Nameservers — mybrand.com
Option 2: Edit DNS records
Keep your current DNS provider and change only the records your website uses:
| Record | Host / name | Value |
|---|---|---|
A | @ (the bare domain) | Your server’s IPv4 address |
AAAA | @ | Your server’s IPv6 address (if provided) |
CNAME | www | Your bare domain, e.g. example.com |
- Find your server’s IP address in your hosting client area.
- In your DNS provider’s dashboard, edit (or create) the
Arecord for@with that address. - Point
wwwat the bare domain with aCNAME, or add a secondArecord forwww.
DNS records for mybrand.com
+ Add RecordCheck that it worked
Query your domain directly to see the new values:
# Which nameservers are now delegated?
dig NS example.com +short
# What address does the domain resolve to?
dig A example.com +short
Or use our DNS lookup tool to check the records from your browser, and the propagation checker to compare several public resolvers.
How long does it take?
Record changes appear as resolvers’ cached answers expire — usually within the old record’s TTL. Nameserver changes involve the registry’s delegation, which commonly has a TTL of up to 48 hours, so allow up to two days before investigating.
After the domain resolves
Once the domain points at your hosting, issue an SSL certificate (included free with ZSOLNET hosting) so the site loads over HTTPS, and confirm that http:// redirects to https://.
Frequently asked questions
Should I change nameservers or DNS records?
Change nameservers if you want your hosting provider to manage all DNS. Edit records if you want to keep DNS where it is — for example because email or other services already depend on it.
Why does my site still show the old host?
Resolvers may still have the old answer cached. Check the authoritative nameservers directly, then wait for the previous TTL to expire.