Hey everyone! I'm new to deploying applications and I'm excited to set up my first Spring Boot application. I'm currently looking for a budget-friendly Linux server or VPS to host a small project, as I'm not expecting high traffic yet. I'd love any recommendations for reliable and low-cost hosting providers you might have.
Also, I have a few related queries:
- Where's a good place to purchase a domain name?
- Is it advisable to run the database on the same server as the API for this small project, or should I separate them from the get-go?
Any tips, warnings, or best practices would be greatly appreciated! Thanks in advance!
4 Answers
You might also consider using a Raspberry Pi as your server. It's a popular choice for hosting a Linux distro and gives you full control. Plus, since it's all local, you won’t have to worry about shady domain issues, and it can provide a level of security since it's not publicly accessible.
For domain names, I'd recommend checking out Namecheap. They offer great deals. For hosting, a DigitalOcean droplet starts at just $4 a month, which is super affordable. It's generally a good idea to separate your database from your web server right from the start, even for smaller projects.
I highly recommend using Hetzner Cloud. They provide reliable services at competitive prices!
Honestly, running your own app publicly might not be the best choice, especially if you're still learning. I suggest starting on a local machine that's not accessible to the outside world. This way, you can learn to do everything you would on a VPS, like server hardening, setting up a domain, and managing HTTPS and TLS certificates, but without exposing your work too soon.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically