@yestyle, I still have small problem on MX record when I checked with DNS health tool online. How to solve this? I'm using Directadmin for my vps host.
loL...if you are using DA then first, you create these
You need to be sure that created this
To change your hostname, you login to DA and go to:
Admin Level => Admin Settings => Server's Hostname
wait a moment for DA restarts.
After you create hostname, it must resolve, so go to
Admin Level => DNS Administration => Add Zone
And configure as follow
Domain Name: server.yourdomain.com
IP Address: 22.214.171.124 (your server IP)
where server.yourdomain.com is your new hostname, the server IP address will usually be your license/main IP, and the ns1/ns2 values can be whatever your domain.com uses. Leave the "Create Reverse IP Lookup" checkbox disabled/unchecked.
The reason we add a new zone for the hostname is to ensure that
- it resolves
- it has it's own MX record, so email from the hostname are valid. Without the MX records, many of your emails (eg: from the php/apache "mail()" function) may be not worked.
Note that you will need to add reserve IP lookup on your vps control panel or contact your hosting provide to enable it if it has not been enabled.