Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

moving to new server, how to assign new IP to nameservers?

Discussion in 'Bind/DNS/Nameserver' started by markhard, Dec 1, 2005.

  1. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    166
    i want to move all accounts on my old server to the new one. i already setup the new server, so now i can start moving accounts. my problem is how to assign a new IP to my nameservers?

    for example current nameservers have this IPs:
    ns1.domain.com IP: 100.100.100.100
    ns2.domain.com IP: 100.100.100.101

    now when i try to assign new IP for ns1.domain.com and ns2.domain.com via WHM "Nameserver IPs" page, i get this error message:

    Sorry, the nameserver ns1.domain.com already has the ip 100.100.100.100 assigned to it.

    so how to assign IP on my nameservers? i don't want to change my nameservers as if i change it, me/my customer should edit domain name nameserver too.

    thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. dkz

    dkz Well-Known Member

    Joined:
    Sep 10, 2004
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    166
    I'm going through the same thing you are right now. I had to modify the nameservers my server was setup with. Edit the file /etc/nameserverips and place the nameserver name next to the IP you want it to be at.

    Example:
    Code:
    12.34.567.01=ns1.domainname.com
    12.34.567.02=ns2.domainname.com
    12.34.567.03=0
    12.34.567.04=0
    12.34.567.05=0
    
    Also, take a look at http://forums.cpanel.net/showthread.php?t=47131 (my current thread) for some more info on how to switch servers.

    Good luck!
     
  3. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    166
    thanks dkz
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice