if you are interested to contribute your LAB PROGRAM Please send mail to jkumaron@gmail.com

Apache server Configuration How to setup Web Server configuration in rhel5

system1: httpd server configuration setup
Step 1:Configure dns
Step 2:Install http packages
#yum install httpd
Step 3:Create html file
Create html file
#vim /var/www/html/main.html
<head><title>Sample Web Page</title></head>
<font size=”40” color=”FF0000”>
<marquee>This is Home Page of Rhel5.com</marquee>
Step 4: Add html page to http configuration file
#vim /etc/httpd/conf/httpd.conf
Line no: 390
Directory Index main.html index.html index.html.var
Step 5:restart the http service
#chkconfig httpd on
#service httpd restart
add dns entries in /etc/resolv.conf
#vim /etc/resolv.conf
search rhel5.com
Step 6:open firefox and type the following url in address bar
Finally Apache server httpd server configure successfully

Related post