Well, without actual domain names or IP addresses this is hard to help. There's so much obfuscation (or it looks like that), your message does not make much sense. The problem is for sure DNS (98%
). Look at the IP address of hostname.mydomain.pt. Does it point to the right IP?