Hi @optinforce,
This is a good question. It looks like, you can use any active domain (or subdomain) that is connected to your Cloudflare account. So if example.com is in Cloudflare and you create a cdn.* subdomain that points to your main site, you can use that as a custom domain in the plugin.
An easy way to check is take one of the image links, and take the part that starts with cdn-cgi/imagedelivery/....., append it to the cdn.example.com domain and see if the image is displayed.
Best regards,
Anton
Thanks a lot, that is very helpful.
Hi Anton,
I have also a question about this. So if i write it this way in Cloudflare DNS:
Type: CNAME
Name: imgcdn
Content: mydomain.com
Proxy status: Proxied
TTL: Auto
It should work?
@rienco , yep, this should work
unfortunately this didn’t work. When i’m trying to connect to the image trough my own dns like https://imgcdn.mydomain.com/g65XQ1NFDxpPR_G3NFTuoA/8a585b2e-3ad5-47ba-97f5-45d88488b800/w=1024,h=1024, it gives a 404 not found error message
@rienco ,
That doesn’t look like the correct link. You’re missing the cdn-cgi/imagedelivery part after mydomain.com.
Best regards,
Anton
Awesome, thanks! Solved it for me.