Virtualhost doens't work with ANY address

Hello, i am using virtualmin GPL, but i have some problems with Apache.

My situation is this:
I am using an Amazon EC2 system with a private ip 172.x.x.x and a public ip 35.x.x.x

When i create a new virtual host by virtualmin it set :
<virtualhost *:80>

but when i try to access it show me the default website instead the virtual one.
To fix i need to set:
<virtualhost 172.x.x.x:80>

What it is wrong? i know that the correct use it to leave *:80


edit: the problem was that in the apache list i need all port 80 entry to set to any to work, while (don’t know why) i have some entry with the ip.