I want to tests to sites locally.
It is good for me to have two configuration sections in Apache.
I tried
<VirtualHost 127.0.0.1>
...
</VirtualHost>
<VirtualHost 127.0.0.2>
...
</VirtualHost>
But when I type in browser 127.0.0.2, it shows the page from 127.0.0.1.
What is wrong and how can I resolve the issue?
Possibly the common practice is to change hosts.