Adding a domain fails with "Domain is already in use on another CloudFront distribution"
What you are seeing
You add a custom domain to your site and it fails with "Domain is already in use on another CloudFront distribution".
#Why it happens
Amazon CloudFront lets a domain belong to only one distribution across the whole of AWS. An old CloudFront distribution of yours still claims this domain, so your site can't take it.
#What to do
Check every AWS account you own for a CloudFront distribution that still lists the domain as an alias.
Remove the domain from that distribution, or delete the distribution if you no longer need it.
Wait about 5 minutes.
Press Retry.
If the domain belonged to a Capable Sites site you have since deleted, see the first related page below instead.
#Related
Deleted a site and now I cannot re-add its custom domain to the replacement — it says "Domain is alr
Deleting a site does not release its custom domain. The domain record, CDN distribution an
Apex domain (example.com) will not work
The only DNS guidance given is "point your domain to CloudFront with a CNAME record", and
Domain problems
The rest of this family.
Found it? Good.
