Apache Virtual Host is not working right [closed]
You are using the default 80 port for both the virtual host entry. So I hope you are using NameVirtualHost *:80 as configuration.
in the configuration you shared VirtualHost are getting overlaped on port 80, so the first has precedence.