How to add a www CNAME that points to my root domain?

I have a proxied domain in cloudflare, added the following DNS record: TYPE: CNAME NAME: www CONTENT: @ But when I try to access my domain using www it cannot be found 404 Any ideas?
7 Replies
supsydaisy
supsydaisy4mo ago
Could you try changing @ to your root domain? I'm no expert but I'm pretty sure that alias only works in the name column
Tarky
Tarky4mo ago
When you add the @ it defaults to the root domain
i40west
i40west4mo ago
Your server needs to be configured to answer to the www name. As far as it's concerned it's a different hostname and it doesn't know what to do with it.
Tarky
Tarky4mo ago
I am using a cloudflare tunnel
i40west
i40west4mo ago
Cloudflare Docs
DNS records · Cloudflare Zero Trust docs
When you create a tunnel, Cloudflare generates a subdomain of cfargotunnel.com with the UUID of the created tunnel. You can treat .cfargotunnel.com as …
Tarky
Tarky4mo ago
Did this and it throws me a 404
i40west
i40west4mo ago
You still need the server configured to answer to the www name.
Want results from more Discord servers?
Add your server