Wild card from Cloudflare won't redirect to Google sites URL

What is the name of the domain?

joshuaschumachercom

What is the error message?

DNS_PROBE_FINISHED_NXDOMAIN

What is the issue you’re encountering

I am trying to use Cloudflare as DNS service (and maybe in the future a domain reg.) to connect to Google sites Site I have. I have it set up to direct “www” traffic to it but I can’t get it to redirect wildcard (*.domain.com) traffic to the “www” domain.

What steps have you taken to resolve the issue?

I have tried the page redirect provided by Cloudflare under Page rules but nothing seems to be working

What feature, service or problem is this related to?

DNS records

What are the steps to reproduce the issue?

visit “joshuaschumachercom” with a subdomain (or a wildcard “{anything here}.domain.com”)

Just curious: why do you want to redirect ALL subdomains to begin with? I don’t see any point to doing this on Google Sites. And note that *.example.com will not cover example.com itself!

As to your question, your redirect rule does not work because there’s no IP address returned for the host. As you are only redirecting this host to another, use the dummy DNS records A192.0.2.1 or AAAA100:: and set it as Proxied(:orange:).

And unless you have a valid use-case, I’ll drop the wildcard subdomain completely and just redirect the root domain joshuaschumacher.comwww.joshuaschumacher.com.

Good luck!

1 Like

I thank you for your patience.

I probably should have explained it better. I only want the “naked” domain (joshuaschumacher.com) to direct to the “www” subdomain. I have done what you said (with the dummy proxy IP) and it is now bringing up cloudflare proxy webpage.

Thank you for your help

Good.

Now you need to setup the Redirect Rule to redirect the root/apex domain example.com (not the wildcard subdomain *.example.com) to www.example.com.

If you’ve done this already and it’s not working, please post a screenshot of your Rule page here so we can help you tweak it to work.

1 Like

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