Live data from Hacker News

Self-hosting a blog for cheap and lazy devs

sphuff.com

41–50 of 74 posts

Re: Self-hosting a blog for cheap and lazy devs

#41
post #2

Why isn't caddy in a container?

It's a single binary file, so there's not a whole lot to be gained unless you're already doing containers in general. When the entire system is this few moving parts, I'm not sure that it's worth the trouble of containerizing it.

That makes no sense. You containerize both, or you containerize neither. I wager most people from both camps (for and against containers) would agree.

Re: Self-hosting a blog for cheap and lazy devs

#42

This seems both more work and more expensive than GitHub Pages. Hardly the cheap or lazy option. And if the author is reading - your Author link is broken.

Github pages still has no ipv6 support though. Either neocities, netlify or random web hosting company are better options than this imho. Granted one can also fix this problem by sticking a caching CDN with ipv6-support in front.

Yes that's a problem... hopefully they'll fix it and then it's fixed for many sites.

But this blog post doesn't set up IP version 6 either.

Re: Self-hosting a blog for cheap and lazy devs

#44
The key part about having your own personal blog site is owning your own domain. As long as you own the domain, you can change your mind. As long as you own your domain name, you can self-host today, host elsewhere, or whatever you want.

If the domain name is owned by somebody else, then they own and control the site, not you.

Re: Self-hosting a blog for cheap and lazy devs

#46

The key part about having your own personal blog site is owning your own domain. As long as you own the domain, you can change your mind. As long as you own your domain name, you can self-host today, host elsewhere, or whatever you want. If the domain name is owned by somebody else, then they own and control the site, not you.

This brings up the related issue of the normal domain name system and it's governence. No one really owns their domains. They lease them at the whim of some corporate or government entity.

But if you put up a tor onion service you actually own your domain name. I'm not saying only host on tor, but why not a .onion too?

Re: Self-hosting a blog for cheap and lazy devs

#47
Good stuff, but I never liked self hosting a blog when I can just pop it up on a hosted solution. I want to write and forget and not maintain. By the time that I setup a blog, I'd have lost my interest in writing.

Probably, I'll just write about my pain about how did I deal with docker, exposing the port, nginx reverse, some vps provider and DNS stuff.

Re: Self-hosting a blog for cheap and lazy devs

#48

We host our blog using solely off-the-shelf tools, and I love the stack that we use. I highly recommend it if you're looking for a stack with 100% control and are ok with some light technical wrangling (eg using Git): - Jekyll for static site generation https://jekyllrb.com/ - We use the Hydeout Jekyll theme, you can see how it looks on our blog: http://staysaasy.com/ . What you see is out-of-the-box plus ~30 lines o…

Folks also seem to forget that an s3 bucket can host your static website, will cost mostly pennies and pretty much never go down. https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosti...

Very true. In the setup listed above we use Gitlab for hosting and it's 100% free with a fairly non-technical interface. If you're going for static hosting of raw pages Netlify has a folder drag&drop hosting option that's great as well.

Re: Self-hosting a blog for cheap and lazy devs

#49

Or make your blog static and use Netlify.

Yeah, it seems like the 'hosted blog' has reached commodity status, going as low as $0/year if you make yours static.

Doesn't seem to be much point in competing against $0, though the technical side is interesting.

Re: Self-hosting a blog for cheap and lazy devs

#50

The key part about having your own personal blog site is owning your own domain. As long as you own the domain, you can change your mind. As long as you own your domain name, you can self-host today, host elsewhere, or whatever you want. If the domain name is owned by somebody else, then they own and control the site, not you.

This brings up the related issue of the normal domain name system and it's governence. No one really owns their domains. They lease them at the whim of some corporate or government entity. But if you put up a tor onion service you actually own your domain name. I'm not saying only host on tor, but why not a .onion too?

That is an endless rabbit hole. In that case, no one owns land or any other kind of property either. Obviously a government entity could take any or all of it away from you if you are in their jurisdiction. And if you do not pay land taxes, you don't get to keep the land either.

I mean ownership in the usual sense. There are laws and people who are supposed to enforce those laws so that once you purchase something and obey certain rules, you get to keep it. Perhaps more importantly, if a typical energy says they just want to take it from you, there are courts you can appeal to.

If you post on Facebook, and Facebook takes it down, you have absolutely no right of appeal. If I post material on my personal site on a domain I own, it is harder to take down, and much easier to bring it back. I'm assuming here that the content is not illegal, that's a different issue.

Post reply on HN