Using mail on WHM server domain
WHM hostname is srv03.mydomain.com.
mydomain.com is owned by system.
I want to receive mail on mydomain.com.
If I try to add mydomain.com account, it fails because DNS zone exists.
Is there a way to add the mydomain.com account without destroying existing entries like ns1.mydomain.com, srv03.mydomain.com, etc? I don't want to lose my nameservers and WHM connection when account is created.
Is there another way to enable mail accounts on mydomain.com?
-
Hello, You need to select "Overwrite any existing DNS zones for the account." option from DNS setting when you create the cPanel account. Using this method DNS zone overwrite and use server DNS zone for domain. 0 -
Hello :) You should make note of the existing entries in the DNS Zone, delete the zone, create the account, and then manually add those entries back into the zone. You can use the IP address to access Web Host Manager to avoid a loss of connection due to the temporary lack of an "A" record for the hostname. Thank you. 0 -
Thank you Michael. Below are the DNS zones created by cPanel. So, I only delete the mydomain.com DNS zone, but not the hostname.zz and DNS zones? This is probably a newbie question, but can you point me to an explanation of the "zz" suffix on the hostname.zz DNS Zone file that is created for the hostname? root@srv03 [/var/named]# ll *mydomain* -rw------- 1 named named 896 Nov 21 2013 mydomain.com.db -rw------- 1 named named 761 Aug 9 2012 ns1.mydomain.com.db -rw------- 1 named named 761 Aug 9 2012 ns2.mydomain.com.db -rw------- 1 named named 900 Aug 9 2012 srv03.mydomain.com.zz.db root@srv03 [/var/named]# root@srv03 [/var/named]# cat srv03.mydomain.com.zz.db ; cPanel first:11.32.3.23 (update_time):1344556292 Cpanel::ZoneFile::VERSION:1.3 hostname:srv03.mydomain.com latest:11.32.3.23 ; Zone file for srv03.mydomain.com.zz $TTL 14400 srv03.mydomain.com.zz. 86400 IN SOA ns1.mydomain.com. dnsadmin.srv03.mydomain.com. ( 2012080904 86400 7200 3600000 86400 ) srv03.mydomain.com.zz. 86400 IN NS ns1.mydomain.com. srv03.mydomain.com.zz. 86400 IN NS ns2.mydomain.com. srv03.mydomain.com.zz. 14400 IN A xxx.yyy.254.114 localhost 14400 IN A 127.0.0.1 srv03.mydomain.com.zz. 14400 IN MX 0 srv03.mydomain.com.zz. mail 14400 IN CNAME srv03.mydomain.com.zz. www 14400 IN CNAME srv03.mydomain.com.zz. ftp 14400 IN A xxx.yyy.254.114 cpanel 14400 IN A xxx.yyy.254.114 whm 14400 IN A xxx.yyy.254.114 webmail 14400 IN A xxx.yyy.254.114 webdisk 14400 IN A xxx.yyy.254.114 ns1 14400 IN A xxx.yyy.208.6 ns2 14400 IN A xxx.yyy.208.7 root@srv03 [/var/named]# root@srv03 [/var/named]# cat mydomain.com.db ; cPanel first:11.32.3.23 (update_time):1385060419 Cpanel::ZoneFile::VERSION:1.3 hostname:srv03.mydomain.com latest:11.40.0.24 ; Zone file for mydomain.com $TTL 14400 mydomain.com. 86400 IN SOA ns1.mydomain.com. myemail.gmail.com. ( 2012081206 ;Serial Number 86400 ;refresh 7200 ;retry 3600000 ;expire 86400 ;minimum ) mydomain.com. 86400 IN NS ns1.mydomain.com. mydomain.com. 86400 IN NS ns2.mydomain.com. ns1 14400 IN A xxx.yyy.208.6 ns2 14400 IN A xxx.yyy.208.7 mydomain.com. 14400 IN A xxx.yyy.254.114 localhost 14400 IN A 127.0.0.1 mydomain.com. 14400 IN MX 0 mydomain.com. mail 14400 IN CNAME mydomain.com. www 14400 IN CNAME mydomain.com. ftp 14400 IN CNAME mydomain.com. srv03 14400 IN A xxx.yyy.254.114 srv01 14400 IN A xxx.yyy.254.114 srv02 14400 IN A xxx.yyy.254.114 ns3 14400 IN A xxx.yyy.208.6 ns4 14400 IN A xxx.yyy.208.7 root@srv03 [/var/named]#0 -
You can actually remove the zones for the hostname and name servers, and then add "A" records for those entries in the new zone for the domain name itself. Thank you. 0
Please sign in to leave a comment.
Comments
4 comments