Skip to main content

Changing the Primary Server Domain (Best Practise Guidance)

Comments

5 comments

  • cPanelLauren
    You mean you'd like to change the hostname of the server? Meaning the hostname is set to something like server.domain.tld and you've based the nameservers off this? It's a fairly normal occurrent to change the hostname which can be done by going to WHM>>Networking Setup>>Change Hostname If you're wanting to change IP addresses for the hostname you'd want to use the IP address migration tool IP Migration Wizard | cPanel & WHM Documentation
    0
  • martin MHC
    Hi cPanelLauren, thanks for getting back to me on this. Yes, the nameserver domain would change, but the IP would not.
    0
  • cPanelLauren
    Hello, In that case the first portion would be what you'd want to do WHM>>Networking Setup>>Change Hostname once you've ensured the new hostname resolves to the server.
    0
  • martin MHC
    Hello I have changed the hostname, and that's worked well (aside from turning off OSCP security on the browser while waiting for the certificate to activate), however do I now need to manually update each DNS record with the new nameservers? ns1.oldsite.co.uk --> ns1.newsite.co.uk /etc . I may not of clarified the intention originally, I apologise for that, but in changing the host site domain I need to change the name server references from the old domain to the new domain. Is there any automation possible for this? I didn't read anything about it in the documentation.... ?
    0
  • cPanelLauren
    I may not of clarified the intention originally, I apologise for that, but in changing the host site domain I need to change the name server references from the old domain to the new domain. Is there any automation possible for this? I didn't read anything about it in the documentation.... ?

    I am sorry for not getting back to you sooner, there, as far as I am aware not any automation for changing the nameservers, what is set for the domains would need to be changed at the registrar and that isn't something that's modifiable by you (unless you own the domain) or by cPanel at all
    0

Please sign in to leave a comment.