How to add your domain to Cloudflare and copy DNS records

For hosting customers · Updated 2026-10-29

On this page
  1. Steps
  2. Which records are copied
  3. Good to know
  4. Common questions

Once Cloudflare is connected, you can put a domain on Cloudflare, copy its DNS records there and choose which names go through Cloudflare's proxy, all from the panel.

Steps

  1. Log in to the control panel (https://your-server:2083) and open Cloudflare (section Domains).
  2. Click Add to Cloudflare next to the domain. The message lists two Cloudflare nameservers, for example ada.ns.cloudflare.com, bob.ns.cloudflare.com. Note them.
  3. Click Manage next to the domain.
  4. Click Copy DNS records from this server. The message says how many records were copied, for example 9 record(s) copied to Cloudflare.
  5. Check the records in the table below. The Proxy column shows Proxied or DNS only; click it to switch a record.
  6. At your domain registrar, replace the nameservers with the two Cloudflare nameservers from step 2.
  7. Wait. The state changes from Waiting for nameservers to Active when Cloudflare sees the change (usually within a few hours).

Which records are copied

  • A, AAAA, CNAME, MX, TXT and CAA records are copied.
  • NS records are not copied: Cloudflare serves the zone then.
  • SRV records are not copied: add them by hand in Cloudflare if you need them.
  • Records that already exist at Cloudflare with the same type, name and value are left alone, so you can click the button again safely.
  • Only the domain itself and www are copied as Proxied. Everything else is DNS only.
Important: keep mail, ftp and webmail on DNS only. Email and file transfer cannot go through Cloudflare's proxy.

Good to know

  • After the nameserver change, Cloudflare answers for the domain. Records you change in Zone Editor on this server have no effect anymore: change them in Cloudflare (or here, then click Copy DNS records from this server again for new records).
  • If DNSSEC is on for the domain here, remove the DS record at the registrar and wait a day before changing the nameservers.
  • A wildcard certificate cannot be issued while the domain uses Cloudflare's nameservers. Normal free certificates keep working; see SSL with Cloudflare.
  • Your visitors' real IP addresses still reach your website's statistics and protection here.

Common questions

My site shows "too many redirects" after switching to Cloudflare.

Set Cloudflare's SSL mode to Full (strict). See cache and SSL settings.

Can I copy records from Cloudflare back to the server?

No. Copying goes only from this server to Cloudflare.

Was this article helpful?

Still stuck?

Ask the AI about your exact situation — it answers from this knowledge base — or contact us.