https://github.com/wizlee/portfolio is official archived! It's now using the Github page instead of https://wizlee.dev.
The steps are as briefly documented as follows:
- Remove all Github page ALIAS and CNAME records from my web registrar site.
- Remove custom domain from github page setting and then making sure the usual github page link is active.
- Add custom domain in my existing Netlify project.
- Get the nameservers for the Netlify DNS zones and add them into my registrar site as custom DNS nameserver.
- Verify in my site's domain setting that the new site DNS is configured successfully and the SSL cert propagated.
The reasons for migrating are:
- to utilize Netlify features such as deploy preview, functions, etc for future projects.
- to temporarily use private Github repo to host a static site before publishing the source code to prevent exposing keys or other sensitive information.
During this migration there's downtime of the site, even after the SSL cert and DNS verification is done in Netlify. My assumption for this is the Time To Live(TTL) value of the Github DNS/CDN cache. May be someone from the dev.to community can help to verify my assumption? π
Next up, adding this archive site as one of the projects in my live portfolio site. Stretch goal - automatically publish my latest dev.to posts onto the site using GraphQL query!
Top comments (2)
Hey Wiz Lee, this sound quite interesting to me, because I switched domain names from my blog yesterday to chrisko.io - I bought a new domain name on namecheap, but the site's hosting and DNS stayed at vercel. I experienced something that I thought was downtime at first, but then I flushed my local DNS cache with
ipconfig/flushdns
then I noticed my site was live on the new domain before πHey Christian Kozalla, nice tips on clearing the local DNS cache π I wasn't thinking towards that approach and ended up only trying on different devices. The clearing of local DNS cache should at least enable me to access my site on PC.