Moving a placeholder site from Squarespace to Github Page

I have been owning a domain and an LLC with the same name.

Squarespace was my choice since I was about put in more than just a placeholder. $144/year was not bad considering the time it saves me given the features, designs, and flexibility it provides.

However, it ends up a nice looking one-pager is all I need for now. The yearly renewal is around the corner. I decided to move it to Github Page, which is totally free.

Here are the steps:

  1. Create a Github Page.
    1. Login to Github with your username (e.g., examplegithublogin)
    2. Create a new empty repo, examplegithublogin.github.io
    3. Use SourceTree to check it out to a folder locally
    4. Find a free template (on https://www.free-css.com/ etc.), put in the folder, commit and push.
    5. Go to the site (examplegithublogin.github.io) directly. Double check everything works fine.
  2. Unlink from Squarespace
    1. log in to Squarespace -> settings -> domains, then Unlink
    2. If needed, stop auto-renew on Squarespace.
  3. Setup A record
    1. For example, if your domain is registered with Google domains, log in to Google Domains
    2. Remove the Squarespace “Synthetic records”
    3. Add a “@” record, points to the following 4 IP’s (185.199.108.153, 185.199.109.153, 185.199.110.153, 185.199.111.153).
  4. Add the custom domain to Github Page settings
    1. Go back to the examplegithublogin.github.io repo -> settings -> GitHub Pages -> Custom domain -> put yourcustomdomain.com in -> save
  5. Check yourcustomdomain.com and http://www.yourcustomdomain.com (with and without https://)
    1. It works for me immediately, but it could take you more time depends on your DNS propagation.
    2. For me, SSL took about 3 mins to start working. (Github needs to issue a certificate behind the scene.)
  6. Done.