Error adding existing CloudFront
-
Hello,
I have an existing CloudFront distribution serving my WP, and I want to add it to W3TC so I can use auto-invalidation. I added the CloudFront domain and CNAME in the “Replace site’s hostname with” field, but then I click to test I get the error “Error: Distribution for origin “www.my-website.com” not found. The user permissions are correct (I’ve even tried attaching admin permissions and got the same error).
The DNS http://www.my-website.com is pointing to the CloudFront distribution, so the origin domain is different (origin-www.my-website.com) since it points to an ALB, however I can’t edit or rename the field “Origin” on the W3TC configuration page.
As part of the troubleshooting, I’ve tested adding a dummy origin with origin domain “origin-www.my-website.com” and the test passed.
Is there a way to rename the “Origin” on the W3TC CDN Configuration? If not, what is the correct way to import an existing CloudFront distribution?
The topic ‘Error adding existing CloudFront’ is closed to new replies.
