My website is present on Google SERPs via an automatic Cloudflare entry (dc-ecdbb6dcxxxx) and that create a duplicate content with my “real” address. How to fix it ?
There are a few things you can do to resolve this.
The automatic hostnames with that convention are typically created because your MX record is pointing to a hostname that is , and as Cloudflare does not deal with email protocols the dc- record is created to ensure your email does not stop. So fixing the MX problem will remove the dc- hostname, but actually will not solve the issue.
Your web server appears to respond to any hostname with the same content. This is generally seen as a bad practice. The solution will be different depending on your web server, but usually involves creating a default virtual host which responds with a 301 or 404 status code.
You should also firewall your web server so that only Cloudflare can talk to your server on port 443 (and perhaps 80, depending on your setup).
How can I fix MX record if I want to use Cloudflare, it’s the goal to my website. Maybe a distant MX ?
Maybe I can create a 301 redirection from dc-ecdbb6dcxxxx to my website. But i don’t if this entry is dynamic neither the impact of this redirection on Cloudflare
Cloudflare will not handle email protocols, so the record for mail.offshore-cloud.com needs to be . The solution is not to host email and websites on the same IP address.
Right now, I can see that your origin gives the same content regardless of the url, so www and mail both show the same content. This is not a good setup, and I previously commented on ways to resolve that.