Trying to set up domain on hetzner nginx box

I just registered my first domain and I’m having trouble knowing where to put the records. I have a server which I’m leasing from Hetzner. I go to their DNS panel and I have the following zone file.

$ORIGIN mydomain.com.
$TTL 86400
; SOA Records
@ IN SOA hydrogen.ns.hetzner.com. dns.hetzner.com. 2021101509 86400 10800 3600000 3600
; NS Records
@ IN NS achiel.ns.cloudflare.com.
@ IN NS cheryl.ns.cloudflare.com.
; A Records
www.mydomain.com. IN A server.ip.address.here

On the cloudflare end the only thing I have set up are three ns records for the hetzner dns servers (per hetzner’s instructions in the matter). Is there anything else I need to set up (on either end) to get this working?

You shouldn’t be doing anything in DNS at Hetzner. At your domain registrar, you set name servers in your WHOIS info so it points to the Cloudflare name servers.

Then your actual DNS records go here at Cloudflare. Like that “A” record for ‘www’.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.