Hello.
I’m running a website using Nginx on a VPS server and recently set up Cloudflare Tunnel.
But when I access my website, it goes to www firstly and I get an “ERR_NAME_NOT_RESOLVED” error.
Instead of if i access “https://example.com”, working fine.
So I created a redirect rule using Cloudflare’s Page Rule, but it doesn’t seem to work with the tunnel.
Can someone tell me how to solve this problem?
Here are my DNS and Hostname settings
Public hostnames
example.com * https://ip:443 1
example.com * http://ip:80 0
Dns
cname example.com uuid.cfargotunnel.com proxied
Thanks.