Migration to a new domain and hosting
Published: 2026-09-01T16:16:10ZLast modified: 2026-09-01T16:16:10Z
Contents
Important notice
For regular readers and feed subscribers (if there are any), the new address is https://blamster19.net. The GitHub link https://blamster19.github.io will not be updated in the future.
What changed
I migrated my site from GitHub Pages to Codeberg Pages. This is a part of my larger move towards the digital independence from the Big Tech entities. The move was relatively painless, I just had to:
- create a new branch named
pagesholding a subtree located in the directory with the HTML files - Codeberg expects the HTML to reside in the root directory - create a file
.domainsthat lists the domains from which I want my site to be reachable (not sure if it's needed now) - push to a Codeberg repository named
pages - create a webhook in the repository with the target URL being my custom domain and branch filter set to
pages - create the DNS records in my registrar:
ALIAS codeberg.page.andTXT https://codeberg.org/blamster19/pages.git, the second one with host_git-pages-repository.www.blamster19.net - pushing changes is done with
$ git subtree push --prefix pages codeberg gh-pageswherepagesis the branch with HTML files,codebergis the Codeberg remote andgh-pagesis the repository containing all project files
I got a domain from https://porkbun.com. Not much to say here, So far it looks good.
Figuring those things out is very fun and rewarding. I definitely advise to try and set up a website from scratch and hook it up to your own domain. I even had my own infamous DNS problems along the way!