We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Migrating VPS to new IP issues
Migrating VPS to new IP issues
I migrated my VPS from one server to another and my IP address changed. The second the server was migrated I restarted the server and loaded it back up.
I noticed none of my sites were working any more. I was getting nothing. I looked around and found Vesta may be the problem.
I went to the admin page and added an the IP address that I was currently using. Changed all the webpages to that new IP and nothing worked.
Then I found that I need to update the server info so I ran the following commands as root.
wget http://www.nobill.tv/dl/changeip.tar.gz
tar -zxvf changeip.tar.gz
mv v-change-server-ip /usr/local/vesta/bin/
v-change-server-ip OLDIP NEWIP
This updated all my server information. After about 10 min I tried the website again and now I just get Internal server error when I query the site.
http://who-is-the-best.me
My error log on the site using Vesta is this
I restart Apache2 and get the following errors:
Is there something I am missing? I noticed this post: viewtopic.php?f=10&t=5039
I don't know what this command is What is IP and MASK?
I noticed none of my sites were working any more. I was getting nothing. I looked around and found Vesta may be the problem.
I went to the admin page and added an the IP address that I was currently using. Changed all the webpages to that new IP and nothing worked.
Then I found that I need to update the server info so I ran the following commands as root.
wget http://www.nobill.tv/dl/changeip.tar.gz
tar -zxvf changeip.tar.gz
mv v-change-server-ip /usr/local/vesta/bin/
v-change-server-ip OLDIP NEWIP
This updated all my server information. After about 10 min I tried the website again and now I just get Internal server error when I query the site.
http://who-is-the-best.me
My error log on the site using Vesta is this
Code: Select all
2015/03/26 21:45:14 [error] 17274#0: *6 upstream timed out (110: Connection timed out) while connecting to upstream, client: X.X.X.X, server: who-is-the-best.me, request: "GET / HTTP/1.1", upstream: "http://NEWIP:8080/", host: "who-is-the-best.me"
Code: Select all
[....] Restarting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using who-is-the-best.me for ServerName
[Thu Mar 26 21:29:37 2015] [warn] NameVirtualHost NEWIP:8443 has no VirtualHosts
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using who-is-the-best.me for ServerName
[Thu Mar 26 21:29:38 2015] [warn] NameVirtualHost NEWIP:8443 has no VirtualHosts
I don't know what this command is
Code: Select all
v-add-sys-ip IP MASK
Re: Migrating VPS to new IP issues
Hello leecat,
I have the same problem. I'm using Digital Ocean, I cloned my VPS to a new Server.
This problem occurs when the server runs a .php file. It's running normally when I try to access to the index.html.
I spend so much time to solve this, but I cannot figure it out.
My solution is just install vestacp and all the tools again.
Hope that somebody has a solution so that we can save a lot of time.
Thank you so much.
I have the same problem. I'm using Digital Ocean, I cloned my VPS to a new Server.
This problem occurs when the server runs a .php file. It's running normally when I try to access to the index.html.
I spend so much time to solve this, but I cannot figure it out.
My solution is just install vestacp and all the tools again.
Hope that somebody has a solution so that we can save a lot of time.
Thank you so much.
-
- Posts: 5
- Joined: Thu Feb 18, 2016 3:18 pm
Re: Migrating VPS to new IP issues
hello all,
i know this is an old thread but maybe this may help someone.
the thread at link below may help someone dealing with migrating to new ip or
restoring snapshot to different server and or ip address.
especially check out the some posts in page 2
viewtopic.php?f=10&t=5975
i know this is an old thread but maybe this may help someone.
the thread at link below may help someone dealing with migrating to new ip or
restoring snapshot to different server and or ip address.
especially check out the some posts in page 2
viewtopic.php?f=10&t=5975