Redirect settings www in Cloudflare not working

Hi,
I’m doing the setup for the redirect of our custom domain.
We redirected livethelife.tv to our Ghost domain, which is working

The www is not working though. I followed the instructions for Cloudflare.
Do we need to do both setups as in the documentation:
create an A record for www and point it to 8.8.8.8
+
Add a page rule for www.livethelife.tv/* and set a 301 to https://livethelife.tv/$1 ?
And why add the $1 ?

What if we also want to redirect the media subdomain to our Ghost site, I guess this is also a 301 redirect the same as for www ? Tried that but it’s not working either

Thanks

You can set the A record of the www subdomain to 192.0.2.1 so it does not get sent to ghost directly.

Then your page rule looks fine, so should work

The $1 is a placeholder for the * - It will pass on whatever uri from the oringal request to the new url

1 Like