Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion iac/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ This directory contains Terraform configurations for deploying AWS infrastructur
- `aws_route53_zone.default` - Hosted zone for brignano.io
- `aws_route53_zone.backup` - Hosted zone for anthonybrignano.com
- DNS A and CNAME records pointing to Vercel hosting
- Subdomain records: www (alias), resume (CNAME to Vercel)

**Purpose:** Manages domain name resolution for both primary and backup domains.
**Purpose:** Manages domain name resolution for both primary and backup domains, including subdomain routing.

### 2. Email Service (SES)

Expand Down
1 change: 1 addition & 0 deletions iac/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ locals {

vercel_ip_address = "216.198.79.1"
vercel_cname_record = "7db213ad1eff704d.vercel-dns-017.com"
vercel_cname_record_resume = "61434b17a818facc.vercel-dns-017.com"
}
8 changes: 8 additions & 0 deletions iac/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ resource "aws_route53_record" "default_www" {
}
}

resource "aws_route53_record" "resume" {
zone_id = aws_route53_zone.default.zone_id
name = "resume.${aws_route53_zone.default.name}"
type = "CNAME"
ttl = 300
records = [local.vercel_cname_record_resume]
}

#######################
# anthonybrignano.com #
#######################
Expand Down
5 changes: 4 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ Internet → Route 53 → Vercel (Website)
- **Primary Domain:** brignano.io → Points to Vercel hosting
- **Backup Domain:** anthonybrignano.com → Also points to Vercel
- **DNS Provider:** AWS Route 53 for reliable DNS resolution
- **WWW Redirect:** Both domains support www. subdomain
- **Subdomains:**
- www.brignano.io → Alias to brignano.io
- resume.brignano.io → Points to Vercel hosting (separate deployment)
- www.anthonybrignano.com → Points to Vercel hosting

### 2. Email Forwarding
- **Receive Email:** hi@brignano.io
Expand Down