Search This Blog

Sunday, July 31, 2011

Configure a system to run a default configuration HTTP server

yum install httpd
1)Place the index.html file in /var/www/html
2)Go to /etc/httpd/conf/httpd.conf
Find ServerName in that file and modify it according to your required site
3)service network restart
4)chkconfig httpd --level 5 on

Now go in browser and enter the site for eg. to get the required index.html site