Service status

Help centre

Point your domain to hosting: nameservers or A

Two ways to connect a domain to your website: change the nameservers or add A records. Which one to choose, the steps for each, and how long changes take.

  • The GOLDNET team
  • Last reviewed
  • 3 min read
  • Domains

Two ways to do it

Your domain needs to tell the world where your website and email live. There are two ways to do that:

Option 1: change the nameserversOption 2: add A records
What you changeThe domain's nameservers, at the registrarIndividual DNS records, wherever your DNS is hosted now
Who looks after your DNS afterwardsWe do (free DNS hosting)Whoever hosts your DNS today
Email recordsSet up for youYou add MX, SPF, DKIM and DMARC yourself
Good forMost people, and anyone with hosting and email with usKeeping DNS at another provider, or pointing only the website

If your domain is registered with GOLDNET, it already uses our nameservers and there's usually nothing to do.

Option 1: change the nameservers

  1. Get our two nameserver names from your GOLDNET Cloud account, or ask support.
  2. Sign in where your domain is registered and find the nameservers or DNS servers setting.
  3. Replace the existing nameservers with ours. Remove any old ones that are left.
  4. Save.

From then on we answer for your domain: your website, email and SPF, DKIM and DMARC records are set up from your hosting account.

Note: Before you switch, check whether your current DNS has records you still need, for example a separate email service, a Microsoft 365 or Google Workspace setup, or a record that verifies your domain with another service. Copy those across, or ask us to.

Option 2: add A records

Keep your DNS where it is and point your website at us:

  1. Find your hosting account's IP address on your hosting account page.
  2. In your current DNS, set an A record for the domain itself (often shown as @) to that address.
  3. Set www as a CNAME to your domain, or as a second A record with the same address.
  4. If your email is with us too, add the MX, SPF, DKIM and DMARC records from your account page. See Email DNS records explained.

It looks like this (with your own hosting IP address in place of the placeholder):

example.co.za.       A       <your hosting IP address>
www.example.co.za.   CNAME   example.co.za.

Pointing a domain at a cloud server

The same idea works for a GOLDNET Cloud server: add an A record with the server's IPv4 address and, if you switched on IPv6, an AAAA record with its IPv6 address. A reserved IP keeps the same address even if you rebuild the server, so you don't have to change DNS again.

How long it takes

DNS answers are cached around the world for a time called the TTL (time to live).

  • A records and other records usually update within an hour or two, depending on the old TTL.
  • Nameserver changes can take up to 24 to 48 hours to be seen everywhere.
  • Changes to .co.za nameservers are made through the registry, so they can take a little longer to start.

Tip: Planning a move? A day before, lower the TTL on the records you'll change (for example to 300 seconds). The switch then shows up much faster.

Check that it worked

dig +short NS example.co.za
dig +short A example.co.za
dig +short A www.example.co.za

On Windows, use nslookup -type=ns example.co.za and nslookup example.co.za. If you see the new values, you're done. If your own computer still shows the old site, try another network (your phone on mobile data, for example), or wait for the TTL to run out.

Need help? Contact support on the support page.

All guides

Talk to a person, not a call centre

Our teams in Gqeberha and Durban answer Monday to Friday, 09:00 to 18:00. Our WhatsApp assistant answers any time, and the network is monitored around the clock.