This is a static GitHub Pages site that instantly redirects from www.yourdomain.com
to yourdomain.com
.
- Update
index.html
with your non-www domain. - Push to
main
. - Enable GitHub Pages in the repo settings (deploy from root).
- Point your
www.
DNS (CNAME or A record) to GitHub Pages.
That's it. 🚀