I cloned a Droplet - Vesta NGINX Start Failed
I cloned a Droplet - Vesta NGINX Start Failed
Basically when I cloned the Digital Ocean Droplet, the previous server's IP are still displayed. The console throws error 99 because the websites on this cloned server are still trying to connect to the previous server. However, in Vesta I cannot update the IP anywhere. When I go to add a new domain, it does not list the new server's IP.
Any ideas what to do?
Any ideas what to do?
Re: I cloned a Droplet - Vesta NGINX Start Failed
I've forgotten where this is in the web interface, but it is there somewhere. Maybe under the server tab?
Meanwhile, these commands might help you out (use sudo if running as admin)
v-list-sys-ips
v-add-sys-ip
v-delete-sys-ip
v-update-sys-ip
I seem to remember after running these, that there were also files left in /etc/apache/conf.d/ and /etc/nginx/conf.d/ that needed to be looked at. Basically need to remove ones referencing the old IP.
Meanwhile, these commands might help you out (use sudo if running as admin)
v-list-sys-ips
v-add-sys-ip
v-delete-sys-ip
v-update-sys-ip
I seem to remember after running these, that there were also files left in /etc/apache/conf.d/ and /etc/nginx/conf.d/ that needed to be looked at. Basically need to remove ones referencing the old IP.
Re: I cloned a Droplet - Vesta NGINX Start Failed
OK, when you log in to vestaCP as admin, on the top row you see Packages, IP, Users,
Go to IP section. Add new IP. Assign it to all users. Delete old IP.
See if that works.
Go to IP section. Add new IP. Assign it to all users. Delete old IP.
See if that works.