Hello i think i found a bug or something mabe is only on my Mac !! Anyway ...
I changed the listem port from "Listen 80" to "Listen 8080" on httpd.conf file and i start the apache. Now on my browser when i use the localhost:8080/ampps i can add a domain for local development (the "Add an entry to Host File ?" is ticked) . Now when i try the domain .. dont work it keeps open the index in www folder !! So i noticed in httpd-vhosts.conf that in the virtual host adds the 80 port and not the 8080 port that shoud be the right one !! Ofc domains work on 80 port !!