Using your own or external nameservers (such as Cloudflare) for your domain
Want to run your domain's DNS yourself, or have another party such as Cloudflare manage it? Then you set different nameservers for your domain. You don't need a separate package for that. In this article you'll read how to do it and which records you need to keep your website and email working at WebOké.
Changing nameservers
- When ordering: in the window where you set up your domain, click Change next to Nameservers and enter your own nameservers.
- Later: in My WebOké, go to My Domains, click the domain and click the pencil icon on the Nameservers card. Enter at least ns1 and ns2 (ns3 through ns5 are optional) and click Save nameservers.
- Nameservers on your own domain, such as ns1.yourdomain.com? Then first create them with Register custom nameserver on the same domain page (a so-called glue record, see below).

Switching back to WebOké? In the same window, click Default nameservers and then Save nameservers. Our nameservers are ns1.webawere.nl, ns2.webawere.nl and ns3.webawere.com.
Nameservers on your own domain: glue records
Want nameservers with your own domain name, such as ns1.yourdomain.com for yourdomain.com? Then the registry also needs to know the IP address of those nameservers. Otherwise you end up going in circles: to look up ns1.yourdomain.com, you first need to know which nameservers yourdomain.com has, and that's ns1.yourdomain.com itself. That IP address at the registry is called a glue record.
- On the domain page, click Register custom nameserver.
- Under Nameserver (hostname), enter the name, for example ns1.yourdomain.com.
- Under Glue IP addresses, enter the IP address of that nameserver, one per line, and click Register.
- Do the same for ns2 and then set the nameservers as described above.
You only need glue if the nameserver falls under the domain itself. If you use nameservers from another domain, such as Cloudflare's, you don't. If your nameserver gets a different IP address, update the glue as well; otherwise your domain becomes unreachable as soon as the old address disappears.
You can read how glue records work in the lesson Changing nameservers and glue records of the free DNS course.
Records to set at the other party
Is your website or email hosted at WebOké, but your DNS somewhere else? Then set these records at that party, using your package details:
Type Name Value A @ and www your package's IP address A mail your package's IP address MX @ your package's server name, e.g. linux2023.webawere.nl (priority 10) TXT @ your SPF record, with include:webawere.nl TXT x._domainkey the DKIM key from DNS Management in DirectAdmin TXT _dmarc your DMARC record
- You'll find the IP address and server name in the welcome email and in My WebOké under My Products. The IP address is also shown in the A record in DNS Management.
- You can read how to copy the DKIM key in Setting up DKIM when your DNS is with another party.
- If there's an IPv6 address in DNS Management, you can also add AAAA records for @ and www. You can leave these out.
- If you create a subdomain in DirectAdmin, also add it at the other party as an A record or CNAME record.
- Is only your email hosted at WebOké (for example with an email package)? Then the A records for @ and www aren't for us; point them to your own web host instead.
Cloudflare: proxy off for mail
If you use Cloudflare, turn the proxy (the orange cloud) off for the A record for mail and for everything your mail client uses. Mail doesn't go through Cloudflare's proxy. Choose the grey cloud (DNS only) there.
For your website, too, the proxy can get in the way of the SSL certificate: Let's Encrypt then can't see your server directly. Temporarily turn off the proxy until the certificate is in place, or use the SSL mode Full (strict) in Cloudflare.
Common mistakes
- Only one nameserver entered. You need at least two.
- The nameservers are rejected. When you save, we check that you've entered at least two valid nameserver names. The change then goes to the registry. Some registries, such as DENIC for .de, first check whether your domain is already set up on those nameservers: every new nameserver must already know the domain and answer for it itself. If the zone isn't there yet, they reject the change, with a message such as Nameservers are invalid or Answer must be authoritative. So set up the zone at the other party first and then try again. For .nl, .com and most other extensions this isn't checked in advance: the change always goes through there, even if the zone isn't ready yet, and your domain will then temporarily stop working.
- You can't change the nameservers. This is only possible for a domain that's registered with WebOké and active. If your domain is still with another provider, or the transfer is still in progress, change the nameservers at that provider.
- Website works, but mail doesn't. Often the MX record or the A record for mail is missing, or the Cloudflare proxy is turned on.
- You change records in My WebOké and nothing happens. Then your domain uses external nameservers. Change the record at that party.
A nameserver change can take up to 24 hours before everyone sees it. Read How long does a nameserver or DNS change take?
Detailed explanation with screenshots: Changing nameservers in the WebOké manual and DNS in My WebOké and with external nameservers such as Cloudflare in the DirectAdmin manual.
