Trying to redirect to another site: CNAME Cross-User Banned

What is the name of the domain?

sub-1.co.uk

What is the error number?

Error 1014

What is the error message?

CNAME Cross-User Banned

What is the issue you’re encountering

I’m trying to redirect this domain to another I own and run on cloudflare. I was hoping to keep the domains and accounts separate though.

You cannot CNAME across Cloudflare accounts unless the target account is using Cloudflare for SaaS. A CNAME isn’t a redirect anyway, it just returns the IP address of the target.

To do a redirect use a Redirect Rule. You can copy this example and just change the hostnames as required…

2 Likes

Thanks a lot sjr :slight_smile:

2 Likes

Sorry sjr, couple more quick questions if you don’t mind?

I set up the AAAA record with the name ‘www’ and content ‘100::’.
I’ve previously set up a redirect on another site of mine from the www subdomain to the naked domain without this entry, so was just wondering if I should be adding it to my previous site?

Should I also add a similar record for the naked domain if I want both to redirect to an external site? So my redirect expression looks like this:

(http.host wildcard "www.sub-1.co.uk") or (http.host wildcard "sub-1.co.uk")

Thanks!

Yes.

You don’t need to use the wildcard, just use “equals”.

Make sure the destination of your redirect has https:// in front of the domain as at the moment it is appending it as a relative redirect rather than an absolute one resulting in a loop…
https://cf.sjr.org.uk/tools/check?dd301c38fb7747abbbf8cadb1e4ce853#connection-server-https

1 Like

Thanks!

Cool tool btw. Also told me to remove the proxy on my autodiscover record for outlook - which I think is correct :slight_smile:

1 Like

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