10x for hint. It's working...
What I don't understand:
If I type http://ip1
, in the address bar remains http://ip1
and display the page correctly.
But if I type http://ip2
, the address bar is changing in http://www.mydomain.tld
and of course display the page correctly.