Page 1 of 1

Restore a backup in new vps (new ip)

Posted: Wed Jan 03, 2018 2:56 pm
by jose
Ey! How its going!

I need a little help. When i restore a backup in a new vps, the ip is different.

OLD VPS: 51.215.42.110
NEW VPS: 51.244.45.115

Then DNS section after restore in the new VPS looks like this:

ns2--------------------------A---------------------51.215.42.110
ns1--------------------------A---------------------51.215.42.110
mail._domain...----------TXT------------------"k=rsa;p=aGfMA02b3DQEBAQUHnB/yvtSQIDAQAB"
_domainkey---------------TXT------------------"t=y; o=~;"
_dmarc---------------------TXT------------------"v=DMARC1; p=none"
@----------------------------TXT------------------"v=spf1 a mx ip4:51.215.42.110 ?all"
@----------------------------MX10----------------mail.dmain.pro.
ftp---------------------------A---------------------51.215.42.110
pop--------------------------A---------------------51.215.42.110
www------------------------A---------------------51.215.42.110
mail-------------------------A---------------------51.215.42.110
@----------------------------A---------------------51.215.42.110
@----------------------------NS--------------------ns2.dmain.pro.
@----------------------------NS--------------------ns1.dmain.pro.

What i should change to be sure that all will work good?


And... aftere restore a backup in a new server i should change more things or only this?

Re: Restore a backup in new vps (new ip)

Posted: Wed Jan 03, 2018 7:13 pm
by SS88
You should be able to rebuild the DNS to fix the issue...

Image

Re: Restore a backup in new vps (new ip)

Posted: Wed Jan 03, 2018 8:12 pm
by jose
Thx! Steven!

Then after restore the vestacp backup in the new vps, i should rebuild DNS, anything else?

I should rebuild mail or web or something ?

THX !

Re: Restore a backup in new vps (new ip)

Posted: Wed Jan 03, 2018 8:39 pm
by SS88
You can rebuild it all if you like! :)

Re: Restore a backup in new vps (new ip)

Posted: Wed Jan 03, 2018 9:27 pm
by jose
I press rebuild DNS, but the ip stil is the old ip.

Re: Restore a backup in new vps (new ip)

Posted: Wed Jan 03, 2018 9:32 pm
by SS88
Have you added the old IP address to the server? If so, that's why because the user is set to use that IP address too. Try setting the user to the new ip address and try again.

Re: Restore a backup in new vps (new ip)

Posted: Sun Mar 25, 2018 1:44 am
by jose
Doesnt work.

The new vps has a new IP, all its ok after restore. The dns of each web is with the new ip. But if u go to edit the DNS u can see the old ip.

OLD VPS: 51.215.42.110
NEW VPS: 51.244.45.115

ns2--------------------------A---------------------51.215.42.110
ns1--------------------------A---------------------51.215.42.110
mail._domain...----------TXT------------------"k=rsa;p=aGfMA02b3DQEBAQUHnB/yvtSQIDAQAB"
_domainkey---------------TXT------------------"t=y; o=~;"
_dmarc---------------------TXT------------------"v=DMARC1; p=none"
@----------------------------TXT------------------"v=spf1 a mx ip4:51.215.42.110 ?all"
@----------------------------MX10----------------mail.dmain.pro.
ftp---------------------------A---------------------51.215.42.110
pop--------------------------A---------------------51.215.42.110
www------------------------A---------------------51.215.42.110
mail-------------------------A---------------------51.215.42.110
@----------------------------A---------------------51.215.42.110
@----------------------------NS--------------------ns2.dmain.pro.
@----------------------------NS--------------------ns1.dmain.pro.