For The Sake of Conversation:
Shared Linux webhosting with perl cgi-bin is usually the best value.
One thing missing from shared hosting is you do not have root access.
So you can upload your perl scripts fine and connect to MySQL, but you
can not install whatever packages you want onto the server.
This is understandable, because if you bring down a shared webhost inadvertantly, you also bring down a lot of people at once sharing the webhost. The cost is usually the most affordable for shared hosting compared to the other options like VPS and Dedicated Server. (Usually… Not always if you know how to build a low end VPS.)
Running a webserver in your basement is always an interesting topic.
You need to be running DSL at home. How are you going to get your
static IP address and then there is DNS? It may be worth it to do that
just for the fun of it!
I webhost bots all the time. Here is one I am designing now:
chatbotcontest.com/System/8bot.php?chat=What is a robot?
chatbotcontest.com/System/8bot.php?chat=What are androids?
chatbotcontest.com/System/8bot.php?chat=Who is Isaac Asimov?
chatbotcontest.com/System/8bot.php?chat=Hello. How are you?
chatbotcontest.com/System/8bot.php?chat=Your input here
⇒ Hit your back button to return to this forum when done.
I’ve temporarily restricted its responses in design mode so that it can not be tricked into repeating curse words online. It is more capable internally than its responses let it appear, as a prototypical work in progress.