First of all for a server I would not recommend using a gui at all. If you really want to learn Linux you will need to learn to use the command line and having a gui on a server is just a waste of resources.
As for as what distro to use I recommend not using Linux at all. Use FreeBSD it rocks and is easy to configure as a web server. If you must use Linux my vote goes to CentOS.