NOT SOLVED
Hello, the problem is still present and it creates several problems for me. I try to explain better what I should do: I develop websites and, often, I have to develop a site on my server before the DNS have been changed, this is because first it is advisable to have the site functioning and then turn the DNS, to don't lose traffic. So my hosts file (/ private / etc / hosts and / etc / hosts - the same directory) has two lines of this type:
#NEW SERVER
xxx.xxx.xxx.xxx domain.yy
xxx.xxx.xxx.xxx www.domain.yy
where yy is the top level (.it, .com, ...) and xxx the IP address of the server.
With Catalina this has no effect, before it worked. For now I am using a VM with linux and I can log in but it is very uncomfortable (and slow). What has been done with the hosts file, has Apple decided to change a feature that is universal for all OSs ???
thank you