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 Web Server
  • Search

Migrating VPS to new IP issues

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
leetcat
Posts: 3
Joined: Thu Mar 26, 2015 9:43 pm

Migrating VPS to new IP issues
  • Quote

Post by leetcat » 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

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"
I restart Apache2 and get the following errors:

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
Is there something I am missing? I noticed this post: viewtopic.php?f=10&t=5039
I don't know what this command is

Code: Select all

v-add-sys-ip IP MASK
What is IP and MASK?
Top

kenluong
Posts: 1
Joined: Thu Jul 02, 2015 12:58 pm

Re: Migrating VPS to new IP issues
  • Quote

Post by kenluong » Thu Jul 02, 2015 1:05 pm

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

conneXions
Posts: 5
Joined: Thu Feb 18, 2016 3:18 pm

Re: Migrating VPS to new IP issues
  • Quote

Post by conneXions » Tue Feb 23, 2016 5:09 am

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
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web 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