How to redirect (domain).com to www.(domain).com?

I added a pagerule that is URL Forwarding and should forward craftacat.com/* to https://www.craftacat.com
Any idea why it’s not working?
Also, the error when trying to go to craftacat.com is DNS_PROBE_FINISHED_NXDOMAIN

You first have to meet all requirements to use a PageRule on this domain:

  1. create the DNS entry for craftacat.com and www.craftacat.com
  2. use at least Proxy-Mode :orange: on the first one (craftacat.com) but prefered on both

Then things will work.
Number 1. is here the main error.

wait what type of DNS record

Whatever you like. Can be a A-Type, AAAA-Type, CNAME whatever your origin Server is or whatever you like to implement.

If you want to setup a dummy-entry just follow this guide what anyway exactl fits your requirements:

1 Like

But now I get ERR_TOO_MANY_REDIRECTS? Btw, I am using google hosting, so the CNAME is pointing to ghs.googlehosted.com

No Redirection Error for me:

But if the the redirection error still occurs on your end please tell us in these 2 things:

  1. what SSL Mode are you in?
  2. does your origin server has a valid SSL Cert installed?

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