-
Notifications
You must be signed in to change notification settings - Fork 13
Home
Philipp Rudiger edited this page Mar 20, 2018
·
3 revisions
For Gandi.net, you need to add two 'A' records after setting a custom domain on the Github repo. Other domain registrars support the ALIAS/ANAME approach (untested).
The Github IPs for 'A' records are listed here.
Don't forget to add both records:
type: A
name: @
IPv4: 192.30.252.153
type: A
name: @
IPv4: 192.30.252.154
- Go to AWS CloudFront and click
Create distribution
- Click
Web: Get started
- Set up origin domain name to point to S3 bucket, e.g.
holoviews.org.s3.amazonaws.com
- Set origin path to
index.html
- List alternate domain names (CNAMEs), e.g. holoviews.org and www.holoviews.org
- Select custom SSL certificate then request or import certificate with ACM
- Once in ACM add the domain names, e.g. holoviews.org and www.holoviews.org
- Select DNS validation (if using Route53 to manage domain)
- Review and validate certificate
- Now choose the newly created certificate in the CloudFront configuration
- Navigate to Route53 select the hosted zone and create an ALIAS record pointing to the CloudFront distribution (should auto-complete)