amazon web services - S3 Cloudfront - Redirects to the file path -
i have configured cloudfront & s3 redirect page such when user loads www.example.com, redirects https://example.com.
when load page url www.example.com redirects https://www.example.com.s3-us-west-1.amazonaws.com/index.html. idea missing here? did generate ssl cert both example.com , www.example.com. cloudfront updated both www.example.com , example.com.
for www.example.com
the origin domain name path: www.example.com.s3.amazonaws.com
origin id s3-www.example.com
for example.com
the origin domain name path: example.com.s3.amazonaws.com
origin id s3-example.com
for s3 bucket: www.example.com redirected example.com using static website setting - checking redirect requests host name
update
i had 2 distribution settings. 1 www.example.com & example.com
the https characters in red exclamation mark. (invalid cert) certificates valid
yes bucket created , in us-west-2 region.
i created 2 route 53 alias records. 1 example.com , www.example.com each points own cloud front distribution.
Comments
Post a Comment