How to Host a Blog on a Subdirectory Instead of a Subdomain (2025)

taikon 24 points 16 comments April 17, 2026
www.davidma.org · View on Hacker News

Discussion Highlights (5 comments)

gnabgib

(2025) At the time (on a different domain, but not in a subdirectory) https://news.ycombinator.com/item?id=46050069

teach

Maybe should add "with Cloudflare Workers" to the headline Because hosting a blog inside a subdirectory is like the most trivial webserver thing ever

theturtle

This is somehow news? I was doing this 30 actual years ago. Long before Google and Cloudflare stunk up the internet.

erdaniels

I'm not trying to be rude here, but this doesn't belong on this site. This is like posting documentation on CloudFlare for a tutorial that isn't remotely a feature.

Computer0

I use a subdomain because I like it, and my goals are not aligned with the assumed goals of the article.

Semantic search powered by Rivestack pgvector
4,861 stories · 45,788 chunks indexed