Hi guys,
My client is sitting on a shared cPanel instance and recently moved her app over to my droplet. I updated the A Records as follows:
herdomain.com 14400 IN A 100.100.100.100 (my digital ocean droplet ip) localhost.herdomain.com 14400 IN CNAME 127.0.0.1 mail.herdomain.com 14400 IN CNAME 100.200.200.200 (her server IP = cPanel) www.herdomain.com 14400 IN CNAME herdomain.com ftp.herdomain.com 14000 IN A 100.200.200.200 webdisk.herdomain.com 14400 IN A 100.200.200.200 whm.herdomain.com 14400 IN A 100.200.200.200 webmail.herdomain.com 14400 IN A 100.200.200.200
However, her emails stopped receiving and I cannot ping or traceroute:
She basically wants to keep her emails on the her old cPanel server and her landing pages:
What am I missing or what am I doing wrong?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Can share with me what is the setting for this? I can send out but I cannot receive from cpanel. Thanks
A Canonical Name record (abbreviated as CNAME record) is a type of resource record in the Domain Name System (DNS) used to specify that a domain name is an alias for another domain, the “canonical” domain. All information, including subdomains, IP addresses, etc., are defined by the canonical domain.
Youre CNAME isn’t setup correctly and I am suprised your control panel just accepts that. I also don’t see any MX record.
A mail exchanger record (MX record) is a type of resource record in the Domain Name System that specifies a mail server responsible for accepting email messages on behalf of a recipient’s domain, and a preference value used to prioritize mail delivery if multiple mail servers are available. The set of MX records of a domain name specifies how email should be routed with the Simple Mail Transfer Protocol (SMTP).
I don’t know if you got experience with providing services with DNS, mail etc. but you should have a good policy when things aren’t working for your clients. Or you could get in big trouble.