Page rule redirect(301) from .app to .co.uk

Is it possible to set up a page rule redirect from a .app domain to a .co.uk one? I’ll need to first add them to CF, point the CF’s nameservers to GoDaddy (where these domains are currently registered and managed under), and then set up the page redirect rule (301).

GoDaddy does not allow for 301 forwarding on .app domains, so I was wondering if CF has any similar limitations.

Not sure why Godaddy would have that limitation.

On Cloudflare, best to use a redirect rule as page rules will be deprecated at some time.

1 Like

I did set up a page rule redirect from domain.app/* to https://domain.co.uk/$1 as described in the docs but I’m now getting a 522 error when visiting the .app domain. Note that the .app domain does not point to any server, just an A records pointing to a random IP and a www subdomain CNAME redirect. It should be redirecting before resolving the A record but it’s not.

What are the domains?

they are: gowalkies.app and gowalkies.co.uk

The apex domain is redirecting ok (although don’t use a “random” A record, use a dummy value of A 192.0.2.1 or AAAA 100:: so that if your redirect stops or breaks, then you don’t end up sending traffic somewhere).
https://cf.sjr.org.uk/tools/check?b3cbf2bb34d24685a84911d82da8dde8#connection-server

Your www has a circular redirect.
https://cf.sjr.org.uk/tools/check?74cd6dbb6b8c483795b091b02f6cb719#connection-server

Check your SSL/TLS is set to “Full (strict)” here…
https://dash.cloudflare.com/?to=/:account/:zone/ssl-tls
(ensure that is set for both domains for the correct security of your site users).

Make sure the CNAME points to gowalkies.app or change to a dummy A/AAAA record as above.

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