Page 1 of 1

Moving Vesta from one server to another

Posted: Tue Apr 30, 2019 7:58 pm
by appsforce

I have image with VestaCP and a web site on IP address for example. If make and image of that server and create a new instance of that server on IP address, VestaCP works fine on port 8083. However Apache and NGinx fail to start.

In the config files of both apache and nginx it says %ip%proxy_port in the usr/local/vesta/data/templates/web and that %ip on the new instance is IP of the old instance.

1) Where do I change that %IP variable?
2) How can I check the IP address of the server and use that instead? hostname -I for example gives correct IP of the server.
Many thanks

Re: Moving Vesta from one server to another

Posted: Wed May 01, 2019 12:06 am
by webhostingux
Do You get some error log?

I think You should change IP in each vhost at /home/admin/conf/web . You can use sed command to update it in bulk but make sure to do backup first.

Cara Membuat Landing Page di WordPress Gratis