Cname redirect shows an unknown subdomain page

What is the name of the domain?

tranquisafe.pt

What is the issue you’re encountering

I have a cname record for the naked domain but the site it shows I don’t recognize. the record points to a subdomain, but the shown page is from an older version of another subdomain.

What steps have you taken to resolve the issue?

I’ve waited for any caching to expire, changed text in the destination subdomain, checked developer tools on the page, triplechecked the domains and files, ran traceroute but no luck

What feature, service or problem is this related to?

DNS records

What are the steps to reproduce the issue?

visiting tranquisafe.pt on Edge (chrome complains about ssl), and you will see an oler version of tranquisafe2.pinela.net (wrongly) instead of tranquisafe.pinela.net

CNAMEs only result in the request using the same IP address as the CNAME target so make sure your origin is pointing at the correct virtualhost for tranquisafe.pt.

1 Like

@sjr thanks for your time.
I don’t control the virtualhost configuration.

so, how (how to configure the DNS record or something else) can I point the TLD tranquisafe.pt (managed by CF) to the subdomain tranquisafe2.pinela.net on another provider / service?

thank you

For the CNAME to work, make sure the host for tranquisafe2.pinela.net accepts tranquisafe.pt as a custom domain for your site.

Or you can redirect tranquisafe.pt to tranquisafe2.pinela.net using Redirect Rules.

Or you can use a Worker (or better a Snippet if on a Free plan) to proxy requests for tranquisafe.pt to tranquisafe2.pinela.net

1 Like

interesting document. Let me try that (yes, free plan).
I believe I need to clear the CNAME when using the snippet.
Let’s see if it keeps the same URL as well.
thank you SJR.

how would I “make sure the host for _ accepts tranquisafe.pt as a custom domain for your site”?

I tried the snippet. It displays the page on Edge, not on Chrome. Chrome throws a safety warning .

the snippet is the opposite, goes from a subdomain to a TLD. But it is something.
Is there a way to clear the chrome warning and keep the original tranquisafe.pt link in the address bar?
Thank you

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