Point site at custom domain nto-registry.org - #1
Merged
Conversation
Set Astro `site`/`base` for the apex domain and add public/CNAME so GitHub Pages (Actions-based deploy) keeps serving the custom domain across rebuilds. Requires DNS (A/AAAA records at the registrar) and the custom domain field in repo Settings > Pages to be set before this takes effect.
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.
Summary
site/basefor the apex domainnto-registry.org(was thebiocomputingup.github.io/nto-registry/project-site path).site/public/CNAMEso the custom domain survives every Actions-based Pages deploy (this deploy pipeline doesn't auto-generate a CNAME file the way branch-based Pages does).Do not merge yet
Merging redeploys the site under the new domain, so hold off until:
nto-registry.org:www.nto-registry.orgshould redirect to the apex:dig nto-registry.org +shortreturns the A records above).After merge
In repo
Settings → Pages, set Custom domain tonto-registry.org, wait for the green check, then enable Enforce HTTPS.Test plan
dig nto-registry.org +shortresolves to the GitHub Pages IPsSettings → Pagescustom domain check passeshttps://nto-registry.org/loads with working nav/linkshttps://biocomputingup.github.io/nto-registry/redirects to the new domain