Skip to content

Step 8 - Connect your own domain to it

Course: Frontend Deployments on AWS - chapter 8

Websites aren’t fun if you have to go to a URL that looks like this - https://dibs5cabw92oe.cloudfront.net

Connect your own custom domain by following the given steps -

2. Attach a domain name to the distribution

Section titled “2. Attach a domain name to the distribution”

Since we want our website to be hosted on HTTPS, we should request a certificate for our domain

Step 4 - Follow steps to create the certificate in the certificate manager

Section titled “Step 4 - Follow steps to create the certificate in the certificate manager”

Step 5 - Add a CNAME record for the website to point to your cloudfront URL

Section titled “Step 5 - Add a CNAME record for the website to point to your cloudfront URL”

That’s it, you have a fully running react project hosted on HTTPS on a custom domain