\

How to Host a Blog on a Subdirectory Instead of a Subdomain

13 points - yesterday at 10:53 PM

Source
  • teach

    yesterday 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

      • ahme

        yesterday at 11:51 PM

        Are we not just doing static html for blogs anymore?

          • Bender

            today at 1:05 AM

            We could just enable auto-index and drop a bunch of .txt files into it.

            • cr125rider

              today at 12:44 AM

              That doesn’t sound bloated enough. Too fast. Gonna give a user whiplash.

          • taikon

            yesterday at 11:28 PM

            I wanted to but it said it exceeds the character limit

              • gnabgib

                yesterday at 11:33 PM

                Maybe(?): How to Host a Blog in a directory Instead of Subdomain with Cloudflare Workers

        • gnabgib

          yesterday at 11:01 PM

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

            • taikon

              yesterday at 11:29 PM

              Yes I switched the domain. But davidma.co redirects to davidma.org.

                • gnabgib

                  yesterday at 11:37 PM

                  It doesn't presently (maybe a config issue?) Cloudflare just never responds:

                  > Connecting to www.davidma.co(more..)

                  > HTTP request sent, awaiting response... (timeout)

          • theturtle

            yesterday 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.

            • yesterday at 11:22 PM