logoalt Hacker News

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

24 pointsby taikonyesterday at 10:53 PM15 commentsview on HN

Comments

teachyesterday at 11:03 PM

Maybe should add "with Cloudflare Workers" to the headline

Because hosting a blog inside a subdirectory is like the most trivial webserver thing ever

show 3 replies
gnabgibyesterday at 11:01 PM

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

show 1 reply
erdanielstoday at 3:16 AM

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.

Computer0today at 5:12 AM

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

theturtleyesterday at 11:53 PM

This is somehow news? I was doing this 30 actual years ago.

Long before Google and Cloudflare stunk up the internet.