DNS CNAME Record not working, but target's working

What is the name of the domain?

api-guide.voilà.app

What is the error number?

canceled

What is the error message?

This site can’t be reached api-guide.voilà.app unexpectedly closed the connection.

What is the issue you’re encountering

I created a CNAME record for api-guide.voilà.app to redirect to https://voila-guide.fly.dev/. https://voila-guide.fly.dev/ is working well but api-guide.voilà.app is still unreachable.

What feature, service or problem is this related to?

DNS records

CNAMEs don’t redirect, they only return the same IP address as the target.

If you want to redirect then you need to create a Redirect Rule…

Make sure it has a DNS record, use proxied AAAA 100:: if you are just redirecting.

If you are using the CNAME correctly to point at the same server as the other domain, then can you show a screenshot of your Cloudflare DNS records.

1 Like

Yess sorry for the confusion.
I’m using the CNAME (api-guide) to correctly point at the same server as the other domain (https://voila-guide.fly.dev/).
Here’s a screenshot of api-guide DNS config:

It is resolving ok…
https://cf.sjr.org.uk/tools/check?d180d0e0cce442298beb009500cb666e#dns

Make sure the voila-guide.fly.dev is configured to answer for api-guide.xn--voil-3na.app.

Thank you for your help, you were right, the problem came from api-guide.xn--voil-3na.app not having the certificate.

1 Like

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