I use a laptop I had lying around which was idle since I upgraded to a desktop PC. I first installed Ubuntu Server but didn’t like all the default services it comes with, so I ended up installing Debian on it and that worked for me. It’s connected to the router via ethernet cable for maximum reliability and I remote into it using SSH. For better performance, I didn’t install any desktop environment so I only use it from the terminal.
With it I’ve hosted websites, game servers, and I even hosted an Overleaf instance using Docker to collaborate on a college group project, which was very fun to get up and running and made our project much easier.