Other websites not working after installing nagios
Posted: Wed Nov 19, 2014 2:02 am
Hi,
I had just installed nagios into a new Linux Centos server. It works fine in monitoring servers but now I want to host some websites in it which i found that creating the web root folder in default path /var/www/html/ is not working. Here is the web config i added in httpd.conf. Can anyone help me?
NameVirtualHost xxx.xxx.xxx.xxx
<VirtualHost xxx.xxx.xxx.xxx:80>
DocumentRoot "/var/www/html/webroot"
ServerName domain.com
ServerAlias domain.com www.domain.com
<Directory "/var/www/html/webroot">
allow from all
Options +Indexes
</Directory>
</VirtualHost>
I had just installed nagios into a new Linux Centos server. It works fine in monitoring servers but now I want to host some websites in it which i found that creating the web root folder in default path /var/www/html/ is not working. Here is the web config i added in httpd.conf. Can anyone help me?
NameVirtualHost xxx.xxx.xxx.xxx
<VirtualHost xxx.xxx.xxx.xxx:80>
DocumentRoot "/var/www/html/webroot"
ServerName domain.com
ServerAlias domain.com www.domain.com
<Directory "/var/www/html/webroot">
allow from all
Options +Indexes
</Directory>
</VirtualHost>