Home > Blockchain >  What is the bare minimum to host a website, without pre-packaged solutions?
What is the bare minimum to host a website, without pre-packaged solutions?

Time:05-29

I want to host an html page on a domain I have purchased. The html page is less than 20 lines of code. On the internet I find recommendations for certain solution stacks, like XAMPP or WAMP or LAMP, or mentions of wordpress. Is all this really necessary? What's the bare bones method that I could have an html page accessible through any browser in the world? I have a secondary laptop I'm willing to dedicate to the task. Searching is difficult as most results are tailored to entrepreneurs or those who need a full stack.

CodePudding user response:

No, all of that is fortunately not necessary. :-)

You just need an HTTP server. Nginx is a good choice if you're hosting yourself. Its default configuration is all you need.

I do recommend though adding LetsEncrypt to get an HTTPS certificate for your server. It's free and automates via CertBot if you've installed Nginx (or other common web server).

CodePudding user response:

You would need a static IP address to effectively host a publicly accessible website from your own network. As an alternative you could use a free static hosting solution like Github Pages, Render or Cloudflare Workers.

  • Related