Migrating VPS to new IP issues
Posted: Thu Mar 26, 2015 9:53 pm
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