Getting the corret IP for www

What is the name of the domain?

nanotekdynamic.online

What is the issue you’re encountering

Different IPs

What steps have you taken to resolve the issue?

Question: How can I achieve the same IP for the A record “www” as for my domain? I use cloudflare-ddns in docker (config see below). Can I add this in the zone env? Or can i just delete the A record and make “www” a CNAME?

Why? Because nanotekdynamic.online and www.nanotekdynamic.online link to different sites (where www. leads to the original server from my provider)

What feature, service or problem is this related to?

DNS records

What are the steps to reproduce the issue?


services:
cloudflare-ddns:
container_name: cloudflare-DDNS
image: oznu/cloudflare-ddns:latest
restart: always
environment:
- PGID=1000
- PGUID=1000
- API_KEY=xxx
- ZONE=nanotekdynamic.online
- PROXIED=true

Screenshot of the error

Yes, you can delete the A record and make www a CNAME instead. I tested and your server is already configured to answer to the www name so just changing that DNS record should work.

1 Like

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