by Luca Favaro.
Sergio,
There is nothing wrong with the DNS, Just two hostname/domain mapped to an IP.
From my testing machine if I ping either honame I get the correct result which is the IP of the moodle server.
Basically layer 3 is working fine, there is an issue at higher layers, Apache or PHP.