Replace subject-based folder hierarchy with a document-type-based layout. Filesystem now establishes broad ownership and locality: - knowledge/ → concepts/ | technologies/ | methods/ - homelab/ → projects/homelab/plans/ | projects/homelab/guides/ - journal/ → records/journal/ - projects/ flat files → per-project sub-folders with overview.md - knowledge/parking-lot.md → inbox/ Deleted files: - Root-level Backend Residency operational files (AGENTS.md, CURRENT.md, ROADMAP.md, SKILLS.md, todo.md, todo.txt) — belong in backend-residency repo - docs/ directory entirely (ADRs belong in bitetrack-api, remaining files unused) - learning/ directory (backend-residency.md deleted; cicd guide moved to knowledge/methods/) - projects/README.md (replaced by individual project overview files)
1.9 KiB
1.9 KiB
🌐 Domain Migration Plan: arch-services.mywire.org ➔ roadtotech.me
🎯 Objective
Migrate all homelab public endpoints, Authelia single sign-on (SSO), Traefik reverse proxy routers, and SSL certificates from Dynu's free subdomain (arch-services.mywire.org) to the custom registered domain (roadtotech.me).
🛠️ DNS & Provider Strategies
Option A: Dynu Custom Domain (Zero Traefik Changes)
- In Hostinger registrar, set Custom Nameservers:
ns1.dynu.com...ns6.dynu.com. - In Dynu Control Panel, add
roadtotech.meunder DDNS services. - Keep Traefik ACME resolver as
provider=dynuwith existingDYNU_API_KEY. - Update NixOS environment declarations to
DOMAIN = "roadtotech.me".
Option B: Cloudflare DNS (Homelab Industry Standard)
- In Hostinger registrar, set Cloudflare Nameservers.
- In Cloudflare, create an
Arecord or dynamic DNS updater with API token. - Switch Traefik ACME resolver to
provider=cloudflarewithCF_DNS_API_TOKEN.
📋 Implementation Checklist
- Step 1: DNS Setup & Propagation Verification
- Hostinger nameservers delegated to Dynu (
ns1.dynu.com-ns6.dynu.com). - Wildcard dynamic DNS configured for
*.roadtotech.meand apexroadtotech.me.
- Hostinger nameservers delegated to Dynu (
- Step 2: Declarative NixOS Configuration Updated
hosts/desktop/homeserver.nix: ConfiguredDOMAIN = "roadtotech.me".hosts/desktop/traefik-deployments.nix: ConfiguredDOMAIN_SUFFIX = "roadtotech.me"andDOCS_PROJECT_PATH = "/home/kiskaadee/Brain".- Secrets rendered to
/run/secrets/rendered/homeserver.envand/run/secrets/rendered/traefik-deployments.env.
- Step 3: Traefik & Wildcard SSL Validation
- Let's Encrypt DNS-01 wildcard challenge successfully issued certificate for
roadtotech.meand*.roadtotech.me. - Validated SNI TLS handshake across all subdomains.
- Let's Encrypt DNS-01 wildcard challenge successfully issued certificate for
- Step 4: Authelia & Cookie Verification
- ForwardAuth configured and tested for
auth.roadtotech.me.
- ForwardAuth configured and tested for