Skip to main content

How do i redirect domain to a different server IP?

Comments

3 comments

  • cPanelMichael
    Hello, This will work, but you would have to manually edit the DNS zone on the first server to match the entry in the DNS zone on the second cPanel server. Have you considered setting up a DNS cluster instead? Thank you.
    0
  • postcd
    I just need to replace old IP by new IP in the old server's DNS zone for that domain?
    0
  • cPanelMichael
    I just need to replace old IP by new IP in the old server's DNS zone for that domain?

    Yes, if the DNS for the domain name is handled on the source server, you'd have to make any changes to the DNS there. Redirection via IPTables isn't recommended in this scenario, as a simple DNS modification would correct the issue. Or, you could simply update the name server IP addresses at the registrar to point to the new server IP addresses. Thank you.
    0

Please sign in to leave a comment.