Use Custom Domain With CloudFront - gecko-8/devwiki GitHub Wiki

Create The Certificate

  1. Navigate to the Certificate Manager page.
  2. IMPORTANT Set your region to US East (N. Virginia).
  3. Click Request a Certificate.
  4. Select Request a Public Certificate.
  5. Click Request a Certificate.
  6. Enter the domain name for this certificate.
  7. Click Next.
  8. Select DNS Validation.
  9. Click Next.
  10. Click Review.
  11. Click Confirm and Request.
  12. Add the indicated CNAME record to your domain host.

NOTE: It may take awhile before the certificate is available for use.

Setup CloudFront

  1. Navigate to the CloudFront page in AWS.
  2. Click on the Id of the Distribution you want to add the domain to.
  3. In the General tab, click Edit.
  4. In Alternate Domain Names, add the custom domain name you wish to use.
  5. Under SSL Certificate, select Custom SSL Certificate. NOTE: If you cannot select this, you may need to wait a bit for the certificate to become available.
  6. Under Custom SSL Certificate, in the edit box, select the certificate you created earlier.
  7. Click Yes, Edit at the bottom.