Skip to content

Map all redirected subdomains to the redirector app directly - #286

Merged
waxlamp merged 1 commit into
masterfrom
consolidate-redirect-apps
Aug 20, 2026
Merged

waxlamp merged 1 commit into
masterfrom
consolidate-redirect-apps

Conversation

@waxlamp

@waxlamp waxlamp commented Aug 19, 2026 •

Copy link
Copy Markdown
Member

Deprecates dandi/dandi-archive#2889

This PR changes the CNAME records for the following subdomains to all map to the Netlify "redirector" app's canonical domain:

  • gui.dandiarchive.org
  • gui-staging.dandiarchive.org
  • api-staging.dandiarchive.org
  • hub.dandiarchive.org

This is in reaction to the discussion on this PR. I believe this is a simpler and more correct approach to maintaining the redirection services. Now there's a single redirection app in Netlify that reads from the single netlify.toml file that lists all four redirection rules; that single app in Netlify has been configured with all four subdomains that are affected (the redirect rules table selects the matching rule based on the request's Host header, which varies with which subdomain was requested) and the to-be-deprecated Netlify apps have been disabled; finally, this PR codifies the final step, which is the changed DNS records for those subdomains.

Notes

  • This changes the entries from redirect-dandiarchive-org.netlify.com to redirect-dandiarchive-org.netlify.app. It seems that the .com domain works just fine, but because the Netlify app's domain config lists the .app domain, I'm making that change to avoid confusion in the future.
  • I've already made these changes live in Route53 so (1) I've tested that the changes work and (2) the Terraform plan for the PR should come out as a no-op.
  • I also changed the redirector app to build from master instead of release; it wasn't picking up the recently-added hub.dandiarchive.org rule because of this, and it didn't seem appropriate to only update this app on releases.

@waxlamp
waxlamp merged commit 5d9b9bd into master Aug 20, 2026
2 checks passed
@waxlamp
waxlamp deleted the consolidate-redirect-apps branch August 20, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants