You can rent hosting space on a server for about $5-7 a month for shared ones, but you might need a dedicated server for something like this, even to start. Those are a good but more.
I'd suggest using XAMPP on your computer for starters to try and tinker.