How to forward a subdomain to another ip ????

Anybody know how I can forward a DOMAIN to another ip?

; cPanel 10
; Zone file for MYDOMAIN.COM
$TTL 14400
@ 86400 IN SOA ns1.mynameserverdomain.com. MYEMAIL.gmail.com. (
2006010600 ; serial, todays date+todays
21600 ; refresh, seconds
7200 ; retry, seconds
21600 ; expire, seconds
21600 ) ; minimum, seconds

MYDOMAIN.COM. 86400 IN NS ns1.mynameserverdomain.com.
MYDOMAIN.COM. 86400 IN NS ns2.mynameserverdomain.com.

MYDOMAIN.COM. IN A 66.66.66.66

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.
ftp IN A 66.66.66.66
* IN A 66.66.66.66
I tried changing the

MYDOMAIN.COM. IN A 66.66.66.66

line to another server's ip address, and changed serial number, reloaded named, and waited a while, didn't work....

Basically, I need to use all subdomains on this main server but I want to use the main www.mydomain.com and mydomain.com on another server.

 

 

 

 

Top