Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section DNS Server
  • Search

Restore a backup in new vps (new ip)

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
jose
Posts: 21
Joined: Fri Dec 29, 2017 3:25 pm

Os: CentOS 6x
Web: nginx + php-fpm
Restore a backup in new vps (new ip)
  • Quote

Post by jose » Wed Jan 03, 2018 2:56 pm

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?
Top

SS88
Posts: 336
Joined: Thu Nov 19, 2015 12:40 pm

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

Post by SS88 » Wed Jan 03, 2018 7:13 pm

You should be able to rebuild the DNS to fix the issue...

Image
Top

jose
Posts: 21
Joined: Fri Dec 29, 2017 3:25 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: Restore a backup in new vps (new ip)
  • Quote

Post by jose » Wed Jan 03, 2018 8:12 pm

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 !
Top

SS88
Posts: 336
Joined: Thu Nov 19, 2015 12:40 pm

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

Post by SS88 » Wed Jan 03, 2018 8:39 pm

You can rebuild it all if you like! :)
Top

jose
Posts: 21
Joined: Fri Dec 29, 2017 3:25 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: Restore a backup in new vps (new ip)
  • Quote

Post by jose » Wed Jan 03, 2018 9:27 pm

I press rebuild DNS, but the ip stil is the old ip.
Top

SS88
Posts: 336
Joined: Thu Nov 19, 2015 12:40 pm

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

Post by SS88 » Wed Jan 03, 2018 9:32 pm

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.
Top

jose
Posts: 21
Joined: Fri Dec 29, 2017 3:25 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: Restore a backup in new vps (new ip)
  • Quote

Post by jose » Sun Mar 25, 2018 1:44 am

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.
Top

ringkubd
Posts: 2
Joined: Thu Aug 13, 2020 4:14 am

Os: CentOS 6x
Web: apache
Re: Restore a backup in new vps (new ip)
  • Quote

Post by ringkubd » Sun Aug 29, 2021 7:23 am

Guys, Have you got any solutions?
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “DNS Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password