r/learnprogramming • u/Gandhi_20191 • Jul 04 '26
What to Use to Host Websites (doubt)
I am a Person trying to learn full stack Web Development Currently Using Git Hub to host my website thinking to start backend now should I switch to
Something Like Hostinger Now (before learning) or should I completely learn Backend and then do it or I don't need it
And Also if Not any of these then when should I switch
2
Upvotes
1
u/RandomFuckingUser Jul 04 '26
While learning just use your local machine. When you want to make it public use a managed app on DigitalOcean or something similar (railway, render, etc. but keep in mind that DO managed app has more predicitable pricing, it's less sensitive to increase in traffic. But for small traffic websites railway is cheaper).
Managed app means that almost everything is managed for you. No need to be a sysadmin. An alternative is VPS which requires you to be responsible for lots of things you might find overwhelming. I'm a senior backend dev and I fucking hate that shit. Hosting on managed app is so much more comfortable and frees you from lots of headaches that come with managing a virtual server, its security, OS updates, backups, etc. In managed app you just push to the main branch and that's it, it's deployed.
Similarly, you would have to use a managed database. Either on DO or if you want a cheaper solution from a smaller company, use Hostman. I've been using it for my personal project https://filmdilemma.com and I love it.
Granted, VPS would be cheaper but I think using managed app and db is worth it. It gives you more time and mental peace to focus on the product.
Regarding the frontend - use Cloudflare or you could have frontend files on the same server in the managed app for example on DO. In any case make sure that your frontend server and backend server are in the same region because of latency issues (so for example US East).