Repository navigation
Map all redirected subdomains to the redirector app directly - #286
Merged
Merged
Conversation
mvandenburgh
approved these changes
Aug 20, 2026
jjnesbitt
approved these changes
Aug 20, 2026
naglepuff
approved these changes
Aug 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.orggui-staging.dandiarchive.orgapi-staging.dandiarchive.orghub.dandiarchive.orgThis 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
Hostheader, 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
redirect-dandiarchive-org.netlify.comtoredirect-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.masterinstead ofrelease; it wasn't picking up the recently-addedhub.dandiarchive.orgrule because of this, and it didn't seem appropriate to only update this app on releases.