DEV Community

Discussion on: Hosting my new blog with Hugo

Collapse
 
mark_saward profile image
Mark Saward

Hi, thanks for the positive feedback on my inaugural post :) Although I don't officially have a static IP, practically I have one, as I can't recall the last time that my ISP changed it on me. I'm using pingdom to alert me whenever my sites go down, so I've added my blog there and can update DNS when that next happens.

free f1-micro does sound like a good idea!

Collapse
 
sidpalas profile image
sidpalas • Edited

I use uptimerobot.com/ for my monitoring (Pingdom is nicer but I didn't see a completely free tier...). DDNS isn't too hard to configure if you wanted to automate the process of updating your DNS record if your home IP were to ever change.

I published a workshop on setting up the Hugo site on GCP with Caddy to my YouTube channel if you are interested: youtube.com/watch?v=xo_4n2Reh58

I also made the setup code available here: github.com/sidpalas/hugo-gcp-deploy

Thread Thread
 
mark_saward profile image
Mark Saward

I didn't know about uptimerobot, that's a good tip, thanks. I saw in your post you linked that you're using Docker. I've just posted how I'm using docker, you may be interested in the Caddy 1 http.git directive: dev.to/mark_saward/easy-updates-fo....

Collapse
 
phlash profile image
Phil Ashby

I have been on a similar journey, choosing to host my static content directly in Azure cloud storage / CDN to get away from my Wordpress/Moinmoin/other CMS hosted on a relatively expensive VM. So far so good! The VM is still there ATM as there are a number of other folks sites to staticify, and I'm hosting a video server for family with Jitsi while in lockdown!

Thread Thread
 
sidpalas profile image
sidpalas

Are you porting the sites to something like Hugo/Gatsby or generating the static sites directly from the CMS (w/ a plugin or similar)?

Thread Thread
 
phlash profile image
Phil Ashby

So far I've ported content from MoinMoin to Hugo with a little help from a markdown converter intended for Wordpress. The Wordpress sites I'll probably try a similar route.

I'm using NetlifyCMS as a client-side page editor with github for versioned storage and webhooks back to my personal server to redeploy changes to Azure. NetlifyCMS is good enough to replace Wordpress for CMS duties for al the sites I host I think...