These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for After creating a new domain on shared ip -- many domain names now resolve to it (Wrong URL) on the new forum.
update even deleting the virtual domain the redirection is wrong, I had to delete it -- i have no idea but it must be some sort of apache config issue
Check your Apache VitualHosts blocks - the *:80 and IP:443. I had the same. It's a quirk with how 6.04 (onwards I think) GPL deals with adding new VirtualHosts if there is already a mix of *:80 & IP:443 (or thereabouts)
Read post 2 in https://www.virtualmin.com/node/59040 for more details. And subsequent posts for how to deal with it.