Why Netlify?
I have just recently moved my blog from Vultr to Netlify because I was lured by:
- Free and easy to setup CI/CD. Just click one button and its all setup!
- Free (unlimited?) CDN hosting! They actually called it ADN with a nice graph to compare.
- Auto assets optimization like minifying asset files and lossless image compression.
- 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!
- 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
- Click on the ‘Deploy to Hugo’ button on this page. That will create a Netlify site and a repo on Github/Gitlab.
- Pull the repo to your machine.
- Move the
site/static/admin
folder from Netlify CMS to a temporary folder. - Replace the
site
folder content with your old Hugo folder. - Move back the
admin
folder from the temp tosite/static
. - Edit the
config.yml
to fit your old Hugo structure. - Commit and push.
Your site should be up now on url that looks like some-random-word12314.netlify.com
.
Use your own domain name
- (optional) Rename the Netlify url to something good e.g.
augusteo.netlify.com
- Transfer your domain NameServer to Netlify’s. Then let Netlify set the A and CNAME DNS record.
- (optional) Change the MX and TXT record if you have mail server setup for your domain name.
- 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:
Hi Victor,
The idea is that some users will use our paid services and we’ll have enough of those to cover the cost of people that don’t move to paid. We also count on people using our service to be evangelist and bring in others. Then there are devs that use our free service on free plans and get their companies to move to our our paid plans. In addition to these self-serve, we offer custom enterprise contracts and push support and features and performance for them that you can’t otherwise get on free or self-serve paid.
(emphasis mine).
This post is my effort to evangelist Netlify in return for their amazing free service.
You should give them a try.