The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Migrating server to new hostname/ns

Discussion in 'Security' started by Forcerdj, Sep 29, 2015.

  1. Forcerdj

    Forcerdj Well-Known Member

    Joined:
    Nov 30, 2009
    Messages:
    60
    Likes Received:
    1
    Trophy Points:
    8
    Hi,

    We are rebranding our business and as a result want to slowly change the name servers and the hostname of our server... I also want to keep the old domain in operation so that clients using it don't encounter any problems.

    I have 2 NS records added for our main domain, is it possible to had new NS records for the new domain on the same IPs as the old domain? so that new clients can start using ns1.newdomain.com and ns2.newdomain.com .. but still allowing clients who are already using ns1.olddomain.com and ns2.olddomain.com to continue doing so ??

    .. The second step of the migration will be changing the hostname from server.olddomain.com to server.newdomain.com

    A lot of my clients use server.newdomain.com to connect to SSL email so it still needs to work as normal..

    I have already setup ns1/ns2 name servers at my domain registrar and have added it to my server as a domain. I have also applied an SSL certificate to the domain.
     
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    275
    Likes Received:
    31
    Trophy Points:
    28
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Yes you can. Just make sure to register the new domains at your registrar using the same IP's and add the A Records for the name serves in the DNS zone in WHM on the new domain. This will allow you to use those name servers, if you want all new accounts to use those name servers, make sure to go into "Basic cPanel & WHM Setup" in WHM scroll to the bottom and update the name servers. The old name servers will still work without issue.

    As far as the old hostname, you will want to go into "Manage Service SSL Certificates" to install the new SSL for your cPanel services but the you will also want to go into "Install an SSL Certificate on a Domain" and reinstall the certificate onto the old domain, you will need to specify the server IP since this will not have an account to bind to. Make sure "Enable SNI for Mail Services" is checked so the mail will continue working as is.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Yes, as mentioned, it's acceptable to use the same IP address for a new set of name servers. While the following thread is intended for new server setups, it contains some information you may also find helpful:

    Tutorial - Name Servers on cPanel

    Thank you.
     
  4. Forcerdj

    Forcerdj Well-Known Member

    Joined:
    Nov 30, 2009
    Messages:
    60
    Likes Received:
    1
    Trophy Points:
    8
    Thank you both for the replies, the name servers worked perfectly, will migrate the hostname soon.
     
Loading...

Share This Page