If learning is the sole point, it would make more sense to me (YMMV) to install Apache or another widely used server on your own machine... as you'll likely need to know at least a bit about common Apache configurations to deal with some of their ticks and quirks (aka "invented here" which varies from provider to provider).
That said, you can find numerous answers to very similar questions by using Google against PerlMonks or by using our own Super Search. Failure to do so may be read as lack of effort on your part.