hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : How to forward a subdomain to another ip ????
Reply

Forum Jump

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

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old
Junior Guru Wannabe
 
Join Date: Jan 2006
Posts: 62

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


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

Quote:
; 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.



Sponsored Links
  #2  
Old
Disabled
 
Join Date: Dec 2005
Posts: 105
From what you have said, you are doing the correct thing. But make sure that you are making the changes in the right nameservers and the serial is set to a new one. After running rndc reload ,tail messages for any errors.

  #3  
Old
Newbie
 
Join Date: Jan 2006
Posts: 14
You did correct thing. But if you aren't sure use "nslookup" to check the results of changes.

Kris

Sponsored Links
  #4  
Old
Junior Guru Wannabe
 
Join Date: Jan 2006
Posts: 62
k, i thought i was doing the right thing... I will try nslookup later but I just don't know what the deal is, it just won't go to the right ip, it ALWAYS shows the subdomains' ip ( since the * is 66.66.66.66 , it shows www.mydomain and mydomain.com as 66.66.66.66 even tho i tried changing it.

Also something weird.... I changed the ttl time and all the time to 3600 so I can update my nameservers in just one hour and reflect changes, but now this is my FOURTH isp to try since over 24 hours of changing all named files, up'ing the serial and server named stop;server named restart; and not one of the four isp's i tried shows the right ip address.... loll.... now is that messed up or is that MESSED up?

  #5  
Old
Junior Guru Wannabe
 
Join Date: Jan 2006
Posts: 62
root@server [/home/user0001/public_html/]# nslookup my-domain.info
Server: 66.66.66.01
Address: 66.66.66.01#53

Name: my-domain.info
Address: 66.66.66.66

[/quote]

k it's not working.... Why would it not be working ? it STILL shows the ip address that I added the domain to in cpanel, even though I edited the named .db file, aded to the serial number and stop/restarted named service.

What am I doing wrong? the above is the exact output of the nslookup my-domain.info and the 66.66.66.01 is the ip address of the FIRST nameserver....

Why/how do i fix this issue, right now I can't even change the ip address of the site, I tried changing all the ip's in the /var/named/my-domain.info.db file , added to the serial, service named stop;service named restart, waited 48 hours now and it still shows the old ip address......

HELP PLEASE lol....... Is cpanel caching the ip somewhere or why does it not work when i edited /var/named/my-domain.info.db , changed serial number, and restart named ? did I restart named wrong?.....

Reply

Related posts from TheWhir.com
Title Type Date Posted
UK Domain Registry Nominet Names New CEO Web Hosting News 2014-10-29 10:39:47
Internet Infrastructure Provider M247 Acquires UK Web.Solutions Direct Web Hosting News 2014-05-20 10:10:42
Microsoft Opens Two Japanese Regions for Windows Azure Cloud Web Hosting News 2014-02-25 18:38:08
What's New at cPanel: IPv6 and 1:1 NAT Support Web Hosting News 2013-10-01 18:12:07
Facebook's Recently Acquired Mobile App Platform Parse Launches Web Hosting for Developers Web Hosting News 2013-05-08 10:49:17


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?