OS X Server and OS X Client are based on the same kernel and can do exactly the same things.
OS X Server gives you certain additional things:
GUI tools to easily modify Apache/File Sharing/Print Serving configurations
Quicktime Streaming Server
WebObjects
You can serve a website on OS X Client, but it will take lots of work in Terminal do make it as powerful as OS X Server.