Configuring the web server (Apache Server)

01. Check the necessary RPM
#rpm –q httpd

02. Developed a web site and copied it in to
/var/www/html folder
If you have multiple web sites you can keep them in sub folders in the above location
The web site home page must be named as index followed by the web developing language extension.
Ex – index.htm, index.php , index.asp

03. Publishing the web site
#nano /etc/httpd/conf/httpd.conf
Go to the end of file
Ex – www

04. Save and Exit the file

05. Start the service
#service httpd start
#chkconfig httpd on