I've created a basic website using HTML and CSS, and I'm currently using a Node.js app with Express to serve these files. However, I'm looking for a simpler approach without so many layers of abstraction. Ideally, I'd love to learn how to host the site on my own machine without diving into writing a custom HTTP server in C. I've heard about the LAMP stack but I'm unsure if it's still relevant or if there are better options available. Any suggestions?
1 Answer
Using Node and Express seems a bit excessive for what you’re trying to accomplish. For a simple static website, just go with an off-the-shelf web server. If you want to dive into self-hosting, Nginx or Apache on a local server would give you complete control without the complexities.
Related Questions
Cloudflare Origin SSL Certificate Setup Guide
How To Effectively Monetize A Site With Ads