Hi I have vhosts configured for my sites like:
<VirtualHost ip_abc:8081>
........
.....
....
</VirtualHost>
Now I have added a new vhost but on entering the same information on some other port say:
<VirtualHost ip_abc:8082>
........
.....
....
</VirtualHost>
It gives me error saying:
Please help...I dont know where ip_abc is configured.
In apache/conf/httpd.conf
, find the Listen
directive there, and examine the syntax of that directive and the value of the arguments of that directive.
Example
# Listen: Allows you to bind Apache to specific IP addresses and/or
# Change this to Listen on specific IP addresses as shown below to
# Listen 12.34.56.78:80
yes Listen directive is present,On hosts on which this works fine has
Listen ip_abc:8081
in httpd.conf and
ip_abc:8081
in vhost.
But the same config is not picked by other new vhost and gives the erro.