Why and How I Moved My Blog To Netlify

date
Dec 9, 2018
slug
blog-netlify
status
Published
tags
Tech
summary
type
Post
notion image

Why Netlify?

I have just recently moved my blog from Vultr to Netlify because I was lured by:
  1. Free and easy to setup CI/CD. Just click one button and its all setup!
  1. Free (unlimited?) CDN hosting! They actually called it ADN with a nice graph to compare.
  1. Auto assets optimization like minifying asset files and lossless image compression.
  1. Form handling and Lambda functions integration. I haven’t need to use these yet, but the fact that they are available is exciting. Oh, the possibilities!
  1. If you use a static site generator, they offer NetlifyCMS that work with generators like Jekyll, Hugo, Hexo, or Gatsby.

Steps to create and move

  1. Click on the ‘Deploy to Hugo’ button on this page. That will create a Netlify site and a repo on Github/Gitlab.
  1. Pull the repo to your machine.
  1. Move the site/static/admin folder from Netlify CMS to a temporary folder.
  1. Replace the site folder content with your old Hugo folder.
  1. Move back the admin folder from the temp to site/static.
  1. Edit the config.yml to fit your old Hugo structure.
  1. Commit and push.
Your site should be up now on url that looks like some-random-word12314.netlify.com.

Use your own domain name

  1. (optional) Rename the Netlify url to something good e.g. augusteo.netlify.com
  1. Transfer your domain NameServer to Netlify’s. Then let Netlify set the A and CNAME DNS record.
  1. (optional) Change the MX and TXT record if you have mail server setup for your domain name.
  1. Set SSL cert - they are using Let’s encrypt and will get you a wildcard cert.

Netlify’s amazing customer service

I was having a problem where my site was still using Netlify’s wildcard cert instead of my own. When I emailed their support, I was expecting a slow reply. However, they replied in 5 minutes and fixed my problem!
The quick response blew me away. This is better than some of the paid service! I highly recommend them based on this alone.

How can it be free? What’s the catch?

I asked them about it and how can they offer their services for free. Their answer:
(emphasis mine).
This post is my effort to evangelist Netlify in return for their amazing free service.
You should give them a try.

© Victor Augusteo 2021 - 2024