# Which nameservers to use
Source: https://docs.webgee.com/en/domains-dns/which-nameservers-should-i-use-with-webgee



Point your domain at WebGee's nameservers so it resolves to your hosting.
Applies to shared and reseller hosting.

<Callout type="warn">
  **Use the nameservers in your welcome email.** They are specific to the server
  your account is on, and they take precedence over anything listed here.
  Accounts on different servers do not all use the same pair.
</Callout>

## The usual cPanel nameservers [#the-usual-cpanel-nameservers]

If you no longer have the welcome email, these are the common set:

|           | Hostname         |
| --------- | ---------------- |
| Primary   | `ns1.webgee.com` |
| Secondary | `ns2.webgee.com` |

Some accounts are issued `ns1.primens.one` and `ns2.primens.one` instead. Both
pairs are valid — use whichever your welcome email specifies.

You can confirm the correct pair at any time from the client area, under your
service's details.

## Setting them [#setting-them]

Where you change nameservers depends on where the domain is **registered**, not
where it is hosted:

* **Registered with WebGee** — change them in the client area under **Domains →
  My Domains → Nameservers**.
* **Registered elsewhere** — change them at that registrar.

## Check it worked [#check-it-worked]

```bash
dig +short NS example.com
```

The response should list your WebGee nameservers. Propagation typically takes a
few hours and can take up to 48.

See [Check what nameservers your domain is using](/en/domains-dns/how-do-i-check-what-nameservers-my-domain-is-using).

## If you use Cloudflare or external DNS [#if-you-use-cloudflare-or-external-dns]

Then you are **not** using WebGee's nameservers, and that is fine. Instead of
changing nameservers, point an `A` record at your server's IP address, which is
shown in your welcome email and in the client area.

Do not do both. A domain pointing at Cloudflare's nameservers ignores WebGee's
DNS zone entirely, so changes you make in cPanel's Zone Editor will have no
effect — a common and confusing waste of time. See
[Put your site behind Cloudflare](/en/domains-dns/how-do-i-enable-cloudflare-for-my-websites).

## Related [#related]

* [Check what nameservers your domain is using](/en/domains-dns/how-do-i-check-what-nameservers-my-domain-is-using)
* [Preview your site before pointing DNS](/en/domains-dns/preview-site-before-dns-change)
* [Register a new domain with WebGee](/en/domains-dns/registering-a-new-domain-with-webgee)
