Custom domain with iCloud+ URL is not verified

What is the name of the domain?

barham.me

What is the error message?

Cloudflare cannot proceed with applying new DNS records for iCloud because this URL is not verified.

What is the issue you’re encountering

I want to use my domain with iCloud+ but I get error “Cloudflare cannot proceed with applying new DNS records for iCloud because this URL is not verified.”

What feature, service or problem is this related to?

I don’t know

Screenshot of the error

1 Like

Likewise, I’ve been trying to set up an iCloud custom domain on my existing Cloudflare domain today and getting an identical error.

Nothing to be found in the docs or on google so I’m stumped.

1 Like

Having the same error when trying to navigate to cloudflare using the link provided by iCloud.

1 Like

Found a trick to bypass the error:

First copy the opened url when tapped on verification on iCloud settings, then use url decoder to decode the url.

Then go to https://github.com/Domain-Connect/Templates/blob/master/icloud.com.custom_email_domain.json. Replace the template string with the configuration obtained in the first step.

(note: for the spfm record, use: v=spf1 include:icloud.com ~all)

Finally, copy the state parameter and appended it to the redirect_uri obtained in the first step, the result should be like: https://gateway.icloud.com/maildomainws/v1/domain/domainConnectReply?state=<state>

The custom domain should be now added.

3 Likes

Hello, thank you for posting about this - I have escalated this issue to the attention of Cloudflare.

2 Likes

This works for me, but with fewer steps, no need to use GitHub.

2 Likes

Glad it works!

2 Likes

Hello,

This issue has now been resolved. If you are able to please test and let us know if you see any inconsistencies we appreciate all your patience.

2 Likes

I have tested it and everything works fine. Thanks for resolving the issue.

1 Like

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