You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means the www subdomain can no longer be an alternate domain name (CNAME) record for this cloudfront distribution or this error occurs on deploy:
Error: The domain "www.example.com" is already in use by another website or CloudFront Distribution.
at updateCloudFrontDistribution (/var/task/utils.js:688:13)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
automatically adding the www alternate domain name (CNAME) record when it is not wanted in this case.
I suggest an option should be added to not include this www alternate domain name (CNAME) for the cloudfront distribution as it makes this style of www redirect impossible.
The text was updated successfully, but these errors were encountered:
Following the tutorial for a www -> root domain redirect (e.g www.example.com -> example.com) https://serverless-stack.com/chapters/setup-www-domain-redirect.html, it directs you to set up a new cloudfront distribution for the www subdomain.
This means the www subdomain can no longer be an alternate domain name (CNAME) record for this cloudfront distribution or this error occurs on deploy:
This is caused by
website/src/utils.js
Lines 103 to 104 in 6f87650
I suggest an option should be added to not include this www alternate domain name (CNAME) for the cloudfront distribution as it makes this style of www redirect impossible.
The text was updated successfully, but these errors were encountered: