Apache 2.4 IP-based virtual host not working

I have apache 2.4 installed in Centos 7

the normal virtual host working fine with all server IPs

<VirtualHost *:80>

but when I assign a specific ip address for my virtual host and I change the ip in hosts file


the website display the apache welcome page

and i didn’t change the Listen line in the httpd.conf

Listen 80


Leave a Reply