I have recently changed the domain for this site from
blog.raphlcx.com. It was part of an effort to consolidate my online presence and identity. This post shares the steps in performing the migration.
For context, the
ctfis.art domain was registered on NameSilo, while Netlify manages the DNS records and website hosting.
So, the steps:
Register the new domain,
raphlcx.com, via a registrar. I used Cloudflare.
On Netlify, register the new site or domain alias for the deployed project. But this time, I want to retain DNS records management on Cloudflare instead, so I opt out of Netlify DNS here.
On Cloudflare, create a CNAME record for
blog.raphlcx.compointing to the Netlify deployed site.
On NameSilo, revert to use its default name servers and configure a 301 permanent redirect from
Wait for a maximum of 48 hours for the DNS changes on NameSilo to be propagated. During this period, the site will be reachable from both domains.
blog.raphlcx.comwill be via Cloudflare DNS, while
blog.ctfis.artvia NameSilo, then Netlify DNS.
Once the redirect is working, remove
ctfis.artdomain configuration on the Netlify deployed site and Netlify DNS.
Disable auto-renewal for
ctfis.artdomain on NameSilo.
On Google Search Console, migrate the site domain to the new domain name.
Netlify automatically provisions a TLS certificate for the domain it manages via Netlify DNS. For the previous domain name, I presume its certificate will fail to renew once it expires and be removed from Netlify eventually.