1
4 Comments

Need help on adding a blog to my site

Hi, So I built a tool website and I'll like to serve a blog at /blog of the site. I built the site using node express. How do I add a blog to it? Any Idea?

  1. 1

    You run your node app at a domain,

    then at Nginx configure, you can delegate the /blog path to the blog app.

  2. 1

    Pick a static blogging framework like Jeckyl. Build your pages and serve them from a blog folder.

  3. 1

    What's your setup, do you run a web server / reverse proxy in front of your app? Then you'd add a new location block there (in case of nginx for example) and then serve your app and the blog with different backends.

    As a simple tool for a blog I'd just recommend some static site generator like Hugo (https://gohugo.io) so you don't need to run a database, container etc.

  4. 1

    Use WordPress or Ghost or some other off-the-shelf solution hosted at a subdomain. If you really need it at /blog, create a route that forwards to the subdomain.

Trending on Indie Hackers
How I grew a side project to 100k Unique Visitors in 7 days with 0 audience 49 comments Competing with Product Hunt: a month later 33 comments Why do you hate marketing? 29 comments My Top 20 Free Tools That I Use Everyday as an Indie Hacker 15 comments $15k revenues in <4 months as a solopreneur 14 comments Use Your Product 13 comments