Google "web server raspberry pi". The basic steps on a very minimal environment.
If you're trying to achieve something else, you'll need to give us more detail.
Please follow-up to let us know how you made out. For good karma, mark a reply as the answer if it helped!