Welcome to the forums
If you server is on a private IP then you will need to setup a
Wiki :: Split DNS architecture. If you would post the following it would help us aswell
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes