How can I redirect domain from one host to another using WHM/cPanel’s “Edit DNS Zone”
WhAT I HAVE:
Domain mydomain.xxx registered with domain registrar who doesn’t allow change NameServers or DNS management.
Old Host where my domain is already pointed, and its:
IP is 184.108.40.206
1st Name server: ns1.oldhost.com
2nd Name server: ns2.oldhost.com
Also, I have WHM/cPanel with “Edit DNS Zone” function for mydomain.xxx DNS management, see attached image.
New Host where I need redirect my domain, and its:
IP is 220.127.116.11
1st Name server: ns1.newhost.com
2nd Name server: ns2.newhost.com
I have WHM/cPanel with this host as well.
THE PROBLEM I MUST SOLVE:
I need redirect completely mydomain.xxx domain fromOld Host to New Host by“Edit DNS Zone” of WHM/cPanel on Old Host.
I think this is possible easily, but what should I modify in mydomain.xxx “Edit DNS Zone” ?
As Vinsar have said, change all of the IPs under the A record to the new provider's server IP and it should work fine. However, do take note that in the future if you need to create a subdomain at the new host, you will also need to create a subdomain at the old host and edit it's A record to point to the new provider's server.
will the old host let you continue using their nameservers after you move the website?
Yes, I am continuing using old host as well, I have some websites hosted on my old host. But also I have some new hosts as well.
According past experience to have only one hosting provider is very risky.