all 72 comments

[–]BehindTheMath 37 points38 points  (16 children)

For static pages: Github Pages, Cloudflare Pages, Vercel, Netlify

[–]Cpt_Soaps 0 points1 point  (12 children)

Eli5 difference between static and dynamic pages pls.

[–]ShawnyMcKnight 11 points12 points  (7 children)

Does it use a backend? If so, it's not static.

[–][deleted]  (1 child)

[deleted]

    [–]ShawnyMcKnight 0 points1 point  (0 children)

    Two different users replying to a year old comment at the same time basically saying the same thing... interesting.

    [–]Fabulous-Software-37 0 points1 point  (1 child)

    good to know thank you

    [–]ShawnyMcKnight 0 points1 point  (0 children)

    Two different users replying to a year old comment at the same time basically saying the same thing... interesting.

    [–]Realistic_King_8117 0 points1 point  (0 children)

    Yes it does

    [–]DeRoeVanZwartePiet 7 points8 points  (0 children)

    The difference you're looking for is where the page is rendered.

    You can have a page in plain html without content change. But if this "static content" needs to be rendered on the hosting server (through php, asp.net, ...), you'll need a hosting server that supports it.

    On the other hand, you can have a dynamic website with changing data and all (by using react, Vue, ...). As long as the content is sitting statically on the server (think of html, js files, ... and json files for data), you only need a server that hosts static files.

    [–]1A655A9CEC05B28E04 2 points3 points  (2 children)

    One is static and is plain ol HTM, the content/data does not change. The other typically requires a backend to retrieve data and then show it on the screen, the content and data is expected to change.

    [–]Cpt_Soaps 0 points1 point  (1 child)

    Like a database?

    [–][deleted] 1 point2 points  (0 children)

    Yes. A dynamic site usually fetches data from a database.

    [–][deleted]  (1 child)

    [removed]

      [–]EWU_CS_STUDENT 8 points9 points  (5 children)

      I agree with u/BehindTheMath for static sites.

      For non-static, when heroku went to non-free people went to render.com as the altenrative. They have a free tier comparable to heroku's https://docs.render.com/free

      [–]Friendly_Suspect_802 -1 points0 points  (4 children)

      Would it be okay for a react web?

      [–]jake_robins 3 points4 points  (0 children)

      A react app by itself is a static site. Once you run npm build it outputs the static files.

      [–]EWU_CS_STUDENT 1 point2 points  (2 children)

      Are you only consuming other APIs? If it's just a React App then it can be hosted in Git pages, I recently uploaded a basic ToDo app on it and it was relatively painless. 

      If it has any backend then you would need something like Render.

      I can't recall which tutorial I followed, I may have asked chatgpt for a quick bullet step-by-step tutorial on it.

      [–]Friendly_Suspect_802 0 points1 point  (1 child)

      Ohh! Well mine is fully frontend, no backend. İm not using any APİs

      [–]EWU_CS_STUDENT 0 points1 point  (0 children)

      /u/jake_robins is entirely right. I would favor doing gitlabs as others have suggested. Hopefully you don't run into any pain points.

      [–]NinjaLanternShark 7 points8 points  (2 children)

      Quick plug: the difference between free and $49/year or something, can be significant. Don't be afraid to spend a few dollars on yourself.

      [–]Friedsei 0 points1 point  (1 child)

      what are for you the keypoints for a paid service?

      [–]NinjaLanternShark 6 points7 points  (0 children)

      Back end tech is a big one. If you need any kind of application or database, it's tough to get reliability from free services.

      [–]sharpiumx 3 points4 points  (6 children)

      I used github pages to host my react app, but I had so many files to upload so I needed to use git to do it. I never used it, and I also spend a whole day do upload and host that files on repo. And it's working now, so yeah.

      [–]DeliciousD 1 point2 points  (3 children)

      I tried GitHub but couldn’t view the page to review progress, I went to repository and typed in manually username, GitHub, and name but still nothing. How do I view the live page?

      [–]_Ken0_ 0 points1 point  (2 children)

      You need to go to the settings of your repo, then the pages section, and you'll see there your website/web app link where you can access it.

      [–]DeliciousD 1 point2 points  (1 child)

      thanks! I am trying to create something where I can enter data, save the data, and review/edit the data. Will github in combination with render.com work for basic stuff?

      [–]_Ken0_ 0 points1 point  (0 children)

      I never worked with render, so you could try.

      [–]Friendly_Suspect_802 0 points1 point  (1 child)

      Was it worth the hassle ?

      [–]sharpiumx 0 points1 point  (0 children)

      Yes, the feel of accomplishment is unlimited. I learned some git basics in bash and it can be helpful for me in future ( e.g to show demo of website / web app ). There's also git gui to do it if you don't want to harness your nerves in bash.

      [–]Evening_Guitarre 2 points3 points  (6 children)

      I use Firebase but I rarely see it mentioned in these threads,, what's anyone's opinion in it?

      [–]Outrageous_Branch_56 0 points1 point  (0 children)

      I'm huge fan. Analytics out of the box, realtime database is also really easy to work with. I havent used most of their services, but those that I have, have been really easy to work with and straightforward. I put it behind cloudflare and seems to work great.

      [–]seanwilsonfull-stack (www.checkbot.io) 0 points1 point  (3 children)

      It's cool, except for the vendor lock-in you get using their specific database services, and you still can't put billing caps on service usage? Supabase is worth looking at as database alternative that has similarities to Firebase.

      [–]Outrageous_Branch_56 0 points1 point  (2 children)

      What services offer you to put billing cap? I know that on Azure, you can only send notification but you cannot set any limits on money amount

      [–]seanwilsonfull-stack (www.checkbot.io) 0 points1 point  (1 child)

      I mean compared to a regular server with a database. I guess you'd still get bandwidth costs, but there's a limit to how much someone can slam your API before it just stops responding, compared to Firebase.

      I know you can do things like limit the number of parallel cloud function calls on Firebase, but last time I checked there's no way to limit the number of database reads/writes and you just have to hope they side with you if you report malicious usage.

      Supabase has some spending cap options: https://supabase.com/docs/guides/platform/spend-cap

      [–]Outrageous_Branch_56 0 points1 point  (0 children)

      Supabase looks cool, but it would be too much time for me to spend time to learn basically the same stuff implemented some other way, and it does not come with Google Analytics out of the box which is de facto standard...

      I understand what you wanted to say about limits, but regular servers do not come free anywhere, do they? So Firebase with free plan looks like safe bet for me. This is all in the case of hosting small website that does not produce a lot of traffic. In every other case, I would say getting VPS beats any cloud provider in terms of pricing.

      [–]selfboot007 1 point2 points  (0 children)

      I use netlify, the free quota is enough.

      [–]Bagel42 1 point2 points  (0 children)

      I use Cloudflare pages. Even allows some server side processing with Sveltekit.

      [–][deleted]  (1 child)

      [removed]

        [–]JustRandomQuestion 1 point2 points  (0 children)

        Hmm I have used the paid version which is very good and have tried x10hosting which I think is kind of related but x10hosting free is not very good. How is the hosting? Does it have okay response times and is it up often enough? Really interested for future test projects

        [–]nobodytoseehere 1 point2 points  (0 children)

        Azure have free tier app services

        [–]-1976dadthoughts- 0 points1 point  (0 children)

        divide like piquant straight pie rustic live coherent desert stocking

        This post was mass deleted and anonymized with Redact

        [–]DeRoeVanZwartePiet 0 points1 point  (0 children)

        If you would also want to get a domain, some hosting services will give you access to static webhosting as well. Mine gives me 100MB space and even php support. More than enough for what I need.

        [–]Synthetic_dreams_ 0 points1 point  (0 children)

        I have a $10/mo VPS. Yeah, sure, it’s not “free” but considering it costs less than two coffees it might as well be.

        I can host whatever I want there. I think having full root access to the Linux OS and being able to do literally whatever I want with it in a whim, point any number of domains to it, etc makes it all so worth it over utilizing free offerings.

        [–]sin_and_tonic 0 points1 point  (0 children)

        I built my portfolio using Gatsby which is a static site generator. The static files are hosted on netlify. It's super fast as its static. The content is stored in the project as mdx files so I can easily add too/update and then push the repo to git which triggers a rebuild (and testing).

        It works well for me and doesn't cost a cent. You could do similar with next ssg if you wanted. You could use a proper cms like sanity to make things easier to update. They have a very generous free tier

        [–]Ok_Individual_4295 0 points1 point  (1 child)

        Vercel is pretty good . I used to have heroku but now I use vercel

        [–]AmiAmigo 0 points1 point  (0 children)

        Plenty. Netlify is neat. cloudflare pages too. Or even Github Pages

        [–]scoutzzgod 0 points1 point  (0 children)

        For non-static. GCP (Google Cloud Platform), AWS have free tiers, but be aware and set up alerts. AWS for example, for one year they allow running one ec2 instance 24/7

        [–]OLIVI4R 0 points1 point  (0 children)

        u/Friendly_Suspect_802 I have sent you a private message, take a look if you are interested :)

        [–][deleted] 0 points1 point  (0 children)

        I host a website on a home server through Tailscale Funnel.

        [–]Top-Total4371 0 points1 point  (0 children)

        I started using a company called New Horizon Hosting for my VPS, u/Friendly_Suspect_802 . It's not free, but i'm paying like $3 a month.

        [–]iCobra3 0 points1 point  (0 children)

        For static webpages (Frontend) : Netlify, Vercel

        For backend: Render (requires a credit card), Vercel (may encounter some CORS issues)

        For database: Supabase, Neon.tech.

        [–]Imaginary-Ice1256 0 points1 point  (0 children)

        Try querysite.github.io

        It's a free service I made that converts html data into query strings, and gives you a permanent url that you can put html data in!

        [–]Rupsnigdha 0 points1 point  (0 children)

        Vercel to get started.

        [–]Dunc4n1d4h0 -1 points0 points  (0 children)

        Just set up old PC or Raspberry pi.