webserver is not working..
Hi,
i am new in linux. i use redhat enterprise 5.0. i configured /etc/httpd/conf/httpd.conf. In this configuration file i made changes on last seven lines. changes are.. <VirtualHost adnan.example.com> ServerAdmin webmaster@adnan.example.com DocumentRoot /var/www/html #i've made index.html in html folder ServerName adnan.example.com ErrorLog logs/adnan.example.com-error_log TransferLog logs/adnan.example.com-access_log </VirtualHost> but when i open firefox and type "adnan.example.com" , it gives no reply. but when i type 127.0.0.1, it shows the index.html . what wrong i've made in the configuration file ?? please give me a solution. it stops my further activity on redhat. |
Do you have a DNS entry for
adnan.example.com ? |
thanks repo... i didn't make any change to /etc/hosts....should i change it...?? or what should i do the next..?? sorry for such questions but i am helpless ....thanks
|
You can add
Code:
<ip server> adnan.example.com |
thanks repo for ur nice cooperation. it worked finally.. i like to know should i need to change any other file for better performance...?? waiting for reply.....thanx....
|
All times are GMT -5. The time now is 09:57 AM. |