Netlify is Amazing

When I first heard about Netlify, I couldn’t believe they are real. Providing free plan is not cheap, yet they even went as far as providing a free Open Source and Non Profit plan. Interested with their service, I signed up and migrate my site from GitHub Pages. Almost immediately, I fell in love with them.

Compared with the SSL-less (on custom domain) GitHub Pages, Netlify provide a free SSL certificate with a push of a button. Setting up settings for my site deployment is also easy, I only need to attach Netlify with my GitHub Repo and simply let Netlify take care of the rest.

What I loved about Netlify

  • Netlify served my site from a global CDN, providing the optimal uptime.
  • Automatic and fast deploys from a Git repo.
  • Free SSL
  • Rollback your site as far as you’d like with a click of a button.
  • Awesome Redirects Rule
  • Custom HTTP Headers
  • Form Submission which I used for my contact form.
  • Free custom domain hosting with aliases.
  • DNS Hosting for all plan.
  • No custom domain yet? Use their free subdomain.

HTTP Headers, Redirects and SSL

Headers

Being a fan for security, I immediately interested in using those Headers. To use the feature, all you need is such code in your netlify.toml file in the root folder of your repo.

[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
Strict-Transport-Security = "max-age=63072000; includeSubDomains"
Content-Security-Policy = "default-src 'self'"
Public-Key-Pins = 'pin-sha256="cert1pin"; pin-sha256="cert2pin"; includeSubDomains; max-age=5184000'

More about headers at the documentation page.

Redirects

Netlify also provide an amazing redirects rule, you just add such codes in your netlify.toml file in the root folder of your repo.

Then, add the code like the example below:

[[redirects]]
from = "/*"
to = "/:splat"
status = 301
force = true

[[redirects]]
from = "/pineapple"
to = "/new/orange"
status = 302
force = true

More about redirects at the documentation page.

SSL

Unlike GitHub Pages, Netlify provides you free SSL. I mean, who would deny free stuff? All you need to activate SSL is to click the green button. Yes.. seriously, it is that simple.

netlify ssl

More about SSL at the documentation page.

Netlify is simply amazing

With Netlify you can host your site with ease and comfort knowing they are safe.

This is not a sponsored writing, I simply write about this since I love their service.

Sign Up Now