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 A → 192.0.2.1 or AAAA → 100:: and set it as Proxied().
And unless you have a valid use-case, I’ll drop the wildcard subdomain completely and just redirect the root domain joshuaschumacher.com → www.joshuaschumacher.com.
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.