What’s the best way to host my website with a Vite/Vue frontend and Rust backend?

0
33
Asked By CuriousCat99 On

Hey everyone! I've built a small website using a Vite/Vue frontend and a Rust backend, running it locally with Nginx, Docker Compose, and a PostgreSQL database. So far, everything's working great on my local setup. But now, I'm looking to host it publicly for the first time and I'm a bit out of my element since I usually deal with bare metal setups. I don't expect much traffic—maybe less than 50 users a year—and my database is small with only a few tables (less than 100 rows). I'd like to use the Dockerfiles I've already created. What services do you recommend for hosting, and how can I get a URL for my site? Thanks for any tips!

9 Answers

Answered By DockerBard On

Another option is to run it locally and use Cloudflare Tunnels to make your site public. It's a neat workaround if you're comfortable managing your local setup.

Answered By HostingHunter On

Linode is also a solid choice if you're looking for reliable hosting, and they offer various plans too!

Answered By SkyHacker On

I've been using the Oracle always free tier for small apps. It works pretty well for hosting and gives you a capable cloud server.

Answered By BudgetCoder On

You could consider Digital Ocean or Hetzner. They're reasonably priced, and I run similar setups on both. Hetzner, for instance, has plans starting at about $6 a month.

Answered By SecurityNinja On

It really depends on your security comfort level. I run mine on a home lab in an Alpine Linux container on its own dedicated VLAN. If you're unsure about security, I'd recommend renting a server.

Answered By TechGuru007 On

If you're used to working with bare metal, why not rent a VPS and run your site there? Smaller hosting providers can be a good fit.

RustyNail22 -

Ah, I come from a microcontroller background, so I usually avoid running things inside an OS.

Answered By CloudTraveler On

You might want to check out AWS Amplify. It's great for small sites and offers a free tier that could suit your needs!

WebDevDude -

Does AWS Amplify let you run multiple connected Docker containers?

Answered By FrugalHoster On

Check out interserver.net – they have Linux VPS systems for $3/month. You can load Nginx and get a public IP! For registering a domain, WHOIS.COM has options for just $3/year. So for around $20 a year, you can own your own website. Just my two cents!

Answered By PiFanatic On

I host my website on a Raspberry Pi 5 with 4GB of RAM. It's a neat little setup if you're looking for something affordable and hands-on.

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.