This discussion gives a great deal of inforamtion. But, it is never mentioned how exactly a FQDN has to be in the hosts file.
Is it something like:
EIP ec2-xx-xx-xx.xxxxxx.compute.amazonaws.com
or like :
EIP ec2-xx-xx-xx ec2-xx-xx-xx.xxxxxx.compute.amazonaws.com
Currently I have added the below FQDN to my hosts file in this form but do not work...
EIP ec2-xx-xx-xx ec2-xx-xx-xx.xxxxxx.compute.amazonaws.com
Thanks