My google site does not open without www

Hi, I use Google Sites, But it only works when I type https://www.imtiaz.me, it works, not work on https://imtiaz.me. I have set the redirect by using the page rule. But it is not working. How can I redirect my website from https://imtiaz.me to https://www.imtiaz.me? I want wildcard redirect (https://imtiaz.me/anything to https://www.imtiaz.me/anything). Can you please assist me? I have only set the CNAME record not A or AAAA.

1 Like

Add an A record for:

A iamtiaz.me 192.0.2.1 Proxied

The A record is an IP in a ‘test’ IP range, it is merely a placeholder that the page rule overrides
(Which is why the A record needs to be Proxied!)

1 Like

… and the Page Rule:

URL = iamtiaz.me/
Settings = Forwarding URL, 301 Permanent Redirect (test with 302 first, then switch to 301)
Destination URL = https://www.iamtiaz.me