Two domains one server Cloudflare configuration

Hello.

I have two domains example.com and example.es, where .com is the main domain. I made within the nginx server where .com points to, the configuration so .es is redirected to .com

Are the requests to example.es protected while they are redirected to example.com? I only registered in Cloudflare example.com. Should I introduce also example.es domain in Cloudflare profile? Should I make any special configuration regarding this within Cloudflare?

Thanks

You’ll need to add both domains to Cloudflare.

If you just want to redirect .es to .com, you really just need to add the domain and follow this tutorial.

That’s all to consider for .es and you only need to to focus on the settings for .com.

1 Like

Thanks. That was helpful

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