However you can ask your service provider to give you an smtp server to which you can do a smart host transfer if you are trying to send mails locally internally to systems. As for how to clear it up your question doesn t provide enough details on your base os or setup to give a succinct answer. Just by adding the host name in the hosts file and sending mail abc host dom will not work.
domain name lookup by ip
domain name means hosting
domain name lookup canada
domain name local use
domain name lookup apk
domain name lookup api
domain name maximum length
domain name masking php