Thanks to @Taylor and @Olli I fully revised my question.
I'm developing a windows application in ubuntu. Everything is fine. The only problem is that every web call I perform with
wininet.dll is sent to localhost instead of target server.
I have no idea what's the problem and how to force wininet.dll to resolve domain name correctly.
I also created the hosts file in
~/.wine/drive_c/windows/system32/drivers/etc/hosts and set domains and IPs manually; but did not help.