DNS resolution happens before any mojoportal code can execute. So if your server is not resolving dns correctly there is nothing that mojoportal can do to solve it for you. You should check what DNS server is being used by the server or if needed add entries in the
c:\Windows\system32\drivers\etc\hosts file to resolve the host names to the ip address (you will have to run notepad as admin to be able to edit that file and note that the file has no file extension).
you could add entries there and they will be used in preference to any DNS server like:
where the xs represent the ip address it should resolve to
Hope it helps,