Redirect one domain to another
If you have an alias domain that only forwards traffic to another domain, you can set up redirects directly within Cloudflare.
Type Name IPv4 address Proxy status A
Use to forward traffic from your alias domain to your other domain. Select Include subdomains and Subpath matching to cover your entire alias domain (for example,
Source URL Target URL Status Selected parameters
301 Include subdomains and Subpath matching