What’s the Best Affordable Hosting for My HTML Site with JavaScript and Postgres?

0
5
Asked By FootballFanatic92 On

Hey everyone! I'm a self-taught amateur who recently rebuilt my football club website to enhance my skills and build my portfolio. Currently, I'm hosting some static files on GitHub Pages to make them publicly accessible, but I'm wondering if that's the right approach. My site uses PostgreSQL for storing news articles and some web scraping for pulling results and fixtures. Since I'm a student with GitHub's student tier, I'm looking for affordable hosting options. I already own the domain I want to use, and while I expect around 300 visits per month, the site is only about 20MB and won't exceed 50MB. The SQL database is also tiny, with a max of 40 entries across 5 tables. Any suggestions on good, cheap hosting solutions? Thanks!

3 Answers

Answered By CodeCrafter101 On

If your site is mainly static, GitHub Pages is great. You could adjust your approach and serve your articles as HTML files. Otherwise, a small VPS for about $5 a month works for dynamic content.

WebWiz -

You can connect a GitHub repository to Cloudflare Pages for even quicker loading times!

Answered By DatabaseDude On

You might find Vercel a great option for your front end and use Supabase for your database—both can be free, which is perfect for a student budget.

FootballFanatic92 -

I’ll check them out! Should I host the downloadable files on Vercel too or stick with GitHub Pages?

Answered By TechGuru99 On

For a project like yours, I'd recommend picking up a VPS for around $5 a month. There are several providers, and they all offer pretty similar performance at that price point. It’ll require some basic DevOps skills, but it’s manageable.

FootballFanatic92 -

Thanks! Do you have a preferred VPS provider, or is it mostly interchangeable?

ServerSeeker -

Any chance you could recommend a VPS based outside of the US and China? I’d prefer something in Canada.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.