Using microphone

how can i record sound of microphone?
need i comm server or can i do it on normal webserver?

Thanks