Auto domain redirect on Cloudflare - Main domain url shortener

Oh boy did this make me pull some hair. Today we’re going to see how, with a shortened domain, we can redirect every request to our main domain. Preface In my example I’m going to use gerosalorenzo.com, the website you’re visiting right now, and grlo.me, a shortened version that I’ve just bought in the hope of hosting a personal url shortener (not in my homeserver as I wouldn’t want that dependent on my ability to keep my infrastructure up, just like this static website). ...

Use Gmail to send mail through a custom Cloudflare email address

I’ve made this to avoid paying Google Workspaces (6 a month) or to use and external free service since I have this domain already. Cloudflare Go to email routing, add a destination mail (your primary one that you want to use to control all the others). Setup a custom address that you want to use to sign up to services, in my example it’ll be [email protected]. Gmail Go to the cog wheel in the top right, select all settings and go to “Accounts and imports”. ...

Draft safe repo structure for Hugo

Objective: create a hugo website that hides drafts well and that still supports contributions via github issues. Disclaimer: Since the creation of this post I’ve moved to a cms to handle posting blogposts (just to aid writing with the smartphone). But the main principle of private repo that pushes changes to the public facing one to better support gihub contribution is still active and I still suggest you to implement it. ...