Naked URL redirect not working

Hi, I am using Google Sites to host www.void.beer and Cloudflare as my DNS.

when I had this on Square, I had no issues getting the naked URL (void.beer) to redirect to the full site. This task is seemingly IMPOSSIBLE since switching to Cloudflare. I have read over and implemented the steps on at least a dozen help topics here and none of worked.

I have tried a forwarding rule, I have tried a page rule, I have tried those generic redirect DNS records. I have a CNAME set up for ghs.googlehosted.com and have tried A record set up for void.beer the various IPv4 addresses that people recommend.

I am set to DNS only and not proxy.

I have literally set a rule to redirect all traffic to the full url (https://www.void.beer) and it still will not redirect properly. Any redirect rules just fail to load anything.

Any ideas? Am I missing a specific DNS record? Is this actually just straight up not possible with google sites and SSL?

Then a redirect on Cloudflare will not work as requests won’t pass through Cloudflare.

You have put the dummy value of 192.0.2.1 in, but with “DNS only” that won’t go anywhere. The record for that one must be proxied (you must leave the www record set to “DNS only” to work with Google hosting).

https://cf.sjr.org.uk/tools/check?134c5ea3a8e0455fb508aa0f5cf00ab8

1 Like

I have swapped it to proxied alongside the 4 A record IP addresses that Google domains says I must enter. Still doesn’t seem to work unless this takes time to change.

This is the redirect rule I am using - is this configured incorrectly?

You need to add https:// in front of www.void.beer otherwise the redirect is relative, so to https://void.beer/www.void.beer as it is now…
https://cf.sjr.org.uk/tools/check?5036f0336dc0486eb9e56ee68874628a#connection-server-https

1 Like

Thanks. Hopefully it is working now. I appreciate the help.

This has been driving me mad for the past few hours. Far out of my area of expertise!

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