i have static website being hosted in aws s3 bucket: mysite.com
i used godaddy purchase domain mysite.com
, i'm in process of configuring url points aws s3 bucket. believe i've configured s3 bucket correctly mysite.com.s3-website-us-east-1.amazonaws.com
serves static site.
however, have problem aws route 53. set hosted zone alias, nameservers, , start of authority.
my problem when go mysite.com
in browser, redirected mysite.com.s3-website-us-east-1.amazonaws.com
. site correctly served address i'm wondering why i'm being redirected aws url.
update - result of running curl -ixget mysite.com
in terminal:
http/1.1 200 ok x-amz-id-2: fdg4uijst2ayvwlgzgtzfnucoc5rlepuodwslftilxdtqfer5/vrk5pnar0wgnqh+vtxvlm0dc0= x-amz-request-id: d7f6e1cd65c36959 date: mon, 01 aug 2016 17:46:39 gmt last-modified: tue, 26 jul 2016 22:10:36 gmt etag: "c4388dce1539caba654edf75cc674b7e" content-type: text/html content-length: 10364 server: amazons3
all can suggest double-check setting static website using custom domain
i tested same setup here, , domain not redirect.
under s3 bucket properties, make sure redirect requests host name not set incorrect address.
make sure route 53 record using ip alias record, shown in tutorial.
Comments
Post a Comment