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
eg:
ServerName www.host1.domain10.com
3)service network restart
4)chkconfig httpd --level 5 on

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

No comments: