Use Custom Domain With CloudFront - gecko-8/devwiki GitHub Wiki
Create The Certificate
- Navigate to the Certificate Manager page.
- IMPORTANT Set your region to US East (N. Virginia).
- Click Request a Certificate.
- Select Request a Public Certificate.
- Click Request a Certificate.
- Enter the domain name for this certificate.
- Click Next.
- Select DNS Validation.
- Click Next.
- Click Review.
- Click Confirm and Request.
- Add the indicated CNAME record to your domain host.
NOTE: It may take awhile before the certificate is available for use.
Setup CloudFront
- Navigate to the CloudFront page in AWS.
- Click on the Id of the Distribution you want to add the domain to.
- In the General tab, click Edit.
- In Alternate Domain Names, add the custom domain name you wish to use.
- 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.
- Under Custom SSL Certificate, in the edit box, select the certificate you created earlier.
- Click Yes, Edit at the bottom.