Domain redirection


#1

Good evening, I have two domains registered in cloudflare today, one .com and one .com.br, both have dozens of subdomains and this is giving me a reasonable job to keep it.

In case when I need to add a new subdomain I have to go and create an A or CNAME entry in both the .com and .com.br, the same happens when I need to change this value.

I would like to know if using cloudflare free I apply a rule in .com and it automatically replicate to .com.br?

Also, do you know if I can use the “Page Rules” option when trying to access a domain .com.br does it automatically redirect to .com?

Thanks for your help.


#2

Those two domains are completely separate here. What you do to one, you’ll have to do to the other.

It sounds like you want one to be a CNAME of the other, but still respond as the .br (or .com). That’s going to be a lot of work, but you can automate it with some API scripts.

https://api.cloudflare.com/


#3

Well, I did a lot of research and did not find anything ready to do this duplicate entries work, however I got a way to migrate all sites from .com.br to .com using Page Rules.

Thanks anyway for the help.


#4

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