Trying to point a domain at another server IP...
Hello again,
; cPanel 10
; Zone file for mydomain.com
$TTL 3600
@ IN SOA ns1.mynameserverdomain.com. myemail.gmail.com. ( 2006011404 ; serial, todays date+todays
3600 ; refresh, seconds
3600 ; retry, seconds
3600 ; expire, seconds
3600 ) ; minimum, seconds
mydomain.com. IN NS ns1.mynameserverdomain.com.
mydomain.com. IN NS ns2.mynameserverdomain.com.
mydomain.com. IN A 203.22.204.101
localhost.mydomain.com. IN A 127.0.0.1
mydomain.com. IN MX 0 mydomain.com.
mail IN CNAME mydomain.com.
www IN CNAME mydomain.com.
www IN A 203.22.204.101
test IN A 67.159.4.20
ftp IN A 208.64.118.160
* IN A 208.64.118.160
; Zone file for mydomain.com
$TTL 3600
@ IN SOA ns1.mynameserverdomain.com. myemail.gmail.com. ( 2006011404 ; serial, todays date+todays
3600 ; refresh, seconds
3600 ; retry, seconds
3600 ; expire, seconds
3600 ) ; minimum, seconds
mydomain.com. IN NS ns1.mynameserverdomain.com.
mydomain.com. IN NS ns2.mynameserverdomain.com.
mydomain.com. IN A 203.22.204.101
localhost.mydomain.com. IN A 127.0.0.1
mydomain.com. IN MX 0 mydomain.com.
mail IN CNAME mydomain.com.
www IN CNAME mydomain.com.
www IN A 203.22.204.101
test IN A 67.159.4.20
ftp IN A 208.64.118.160
* IN A 208.64.118.160
I'm trying to point
www.mydomain.com
and
mydomain.com
to this IP 203.22.204.101
trying to point
test.mydomain.com to 67.159.4.20
and have all the other subdomains go to 208.64.118.160 which is the server's ip it's hosted and resolved to on right now.
I edited the /var/named/mydomain.com.db file, added to serial number, stopped and restarted named, cleared my dns on my pc, and try pining test.mydomain.com and www.mydomain.com and mydomain.com and fjdsaklfjdsafldsa.mydomain.com, all of them go to 208.64.118.160 unfortunately. It's been over 48 hours since I changed the file the first time and gave it really low TTL time ( only 1 hour ) and I can't seem to get it to point where I want. this exact setup WORKED PERFECT on my old cpanel server, can someone tell me what I may be doing wrong?
Thanks~