Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS S3 Bucket Url to Custom Domain link

We are hosting a static Angular 2 website on Amazon S3.

Our app is deployed at http://abc.domain.s3.amazonaws.com/index.html

I'm getting HTTPS not secure warning. Also I want to make abc.domain.s3.amazonaws.com => custom url "abc.domain.com"

We also have SSL certificate for "abc.domain.com"

Any help is appreciated!!

like image 320
Swapnil Marathe Avatar asked Dec 21 '25 18:12

Swapnil Marathe


1 Answers

Step to do this :

Solution 1: if want direct S3 and domain to be link :

  1. Create Route53 entry and select S3 domain as alias from drop down.

Solution 2 : if want https for your domain

  1. Get Certificate from "AWS Certificate manager"
  2. Validate domain in "AWS Certificate Manager"
  3. Create cloud front for that domain using certificate.
  4. Create domain entry in Route53 and select as alias from drop dowan this CloudFront URL

Note : Creating cloudfront and reflecting take almost 30-60 minutes. Also certificate activation takes time.

enter image description here

Certificate help : https://aws.amazon.com/certificate-manager/ Cloudfront creation : https://aws.amazon.com/premiumsupport/knowledge-center/cloudfront-https-requests-s3/

like image 189
aviboy2006 Avatar answered Dec 23 '25 20:12

aviboy2006



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!