Howtoforge posted a guide about setting up CentOS 4.8 as server
This tutorial shows how to set up a CentOS 4.8 server that offers all services needed by ISPs and web hosters: Apache web server (SSL-capable), Postfix mail server with SMTP-AUTH and TLS, BIND DNS server, Proftpd FTP server, MySQL server, Dovecot POP3/IMAP, Quota, Firewall, etc. In the end you should have a system that works reliably, and if you like you can install the free webhosting control panel ISPConfig (i.e., ISPConfig runs on it out of the box).The Perfect Server - CentOS 4.8 Server i386