As Demon Lord has pointed out, it's just not worth the effort to set up your own web host. You'd want to keep the site available 24x7, and for that you'll need to keep that PC of yours running 24x7 that will translate into huge costs in the terms of electricity bills. Moreover, your regular PC hardware might not be able to run for so long continuously. You need to have an always on internet connection, that too, one with possibly a very huge data usage bundled, which, will again incur costs in leaps and bounds. You need to have a superior power backup system in case your mains power goes off.
For those who just want to experiment, there are ample of free website hosting servers, like 000webhost.com, somee.com, and such, which let you host your website for free, with a very little limitations.