Your question is a little vague you think? Have you even attempted to setup Apache or whatever your going to use as your webserver? I'd say have a read at
http://httpd.apache.org site to learn more and go ahead and browse around this site and others to learn more about security techniques.
Come back if you run into a problem or need a "more" specific question answered. Cause you shouldn't make members write howto's when they already exist.