Skip to content

Instantly share code, notes, and snippets.

@tylergaw
Last active December 18, 2019 03:29
Show Gist options
  • Select an option

  • Save tylergaw/e6a9c488e3d1f5219e785a70432b378e to your computer and use it in GitHub Desktop.

Select an option

Save tylergaw/e6a9c488e3d1f5219e785a70432b378e to your computer and use it in GitHub Desktop.

Migrating tylergaw.com to Netlify

1. Deploy repo via Netlify dashboard

2. Set up with a spare domain to test redirects and subdomains before switching the primary domain

  • Create namecheap alias record
  • Wait
  • Be unsure if I set up the DNS correctly
  • Wait longer
  • I guess it works now?
  • Create a CNAME record for www to lucid-swartz-72ad0e.netlify.com. to redirect www to bare domain
  • SSL takes some time. Wait more

3. Subdomains for previous versions

v1.tylergaw.com, v2.tylergaw.com, et. al

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment