Skip to content

Commit

Permalink
Merge pull request #207 from kabilar/master
Browse files Browse the repository at this point in the history
Add DNS records for new URL scheme (`www`, `about`, `docs`)
  • Loading branch information
waxlamp authored Jan 10, 2025
2 parents eacd892 + 72a50e5 commit 5b61e81
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion terraform/domain.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,25 @@ resource "aws_route53_record" "www" {
name = "www"
type = "CNAME"
ttl = "300"
records = ["dandi.github.io"]
records = ["gui-dandiarchive-org.netlify.app."]
}

# This resource block and the next are using GitHub's custom domain
# redirection.
resource "aws_route53_record" "about" {
zone_id = aws_route53_zone.dandi.zone_id
name = "about"
type = "CNAME"
ttl = "300"
records = ["dandi.github.io."]
}

resource "aws_route53_record" "docs" {
zone_id = aws_route53_zone.dandi.zone_id
name = "docs"
type = "CNAME"
ttl = "300"
records = ["dandi.github.io."]
}

resource "aws_route53_record" "email" {
Expand Down

0 comments on commit 5b61e81

Please sign in to comment.