You can host most basic web apps off a raspberry pi. You just need to:
- connect your device to the internet
- start your server application
- set up port forwarding on your router to forward the port your application is being hosted on
- get a domain name
- configure ddns
- Maybe get some SSL certs
.
Edit: BearOfaTime brings up a great point. I’m telling you how to do what you asked but you probably shouldn’t. If you do, try to airgap the server from your personal network as best as you can
Edit edit: You know people will let you use their servers for small projects for free right? Check out https://ctrl-c.club/#what or hang out in the LowEndTalk forums and provide quality input and enter some of the giveaways for server space
Although the drawback to ctrl-c club is that you’re not going to get full control of how you install libraries and applications
Just go for the shortest domains, short domain names carry a premium. Or rip through
/usr/share/dict/words
. Or both.