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.
My server changed the IP
My server changed the IP
Hello,
What is the best way to change the IP in VestaCP?
Thanks.
What is the best way to change the IP in VestaCP?
Thanks.
Re: My server changed the IP
Just run the script? No need to do anything else?
Re: My server changed the IP
Pray, I think ;-)edica wrote:Just run the script? No need to do anything else?
But this one-script works for users (I don't see many claims)
Re: My server changed the IP
I run the script but all sites are in error 500. :/
Re: My server changed the IP
What's in error logs? When your restart nginx/apache you get error?
Re: My server changed the IP
* Restarting nginx nginx
...done.
* Restarting web server apache2
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/conf.d/xx.xx.xx.xx.conf:1
...done.
...done.
* Restarting web server apache2
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/conf.d/xx.xx.xx.xx.conf:1
...done.
Re: My server changed the IP
If you have here /etc/apache2/conf.d conf-file with old IP, remove/move/delete this file and restart apache2 again
Re: My server changed the IP
Best solution for IP change:
1. Log in Vesta with new IP and Rebuild in all users.
2. Change to new Netmask here: /usr/local/vesta/data/ips/your-ip
3. Reboot server.
4. The firewall on Vesta need to be restarted. (Bug?)
Now everything works!
Thank you.
1. Log in Vesta with new IP and Rebuild in all users.
2. Change to new Netmask here: /usr/local/vesta/data/ips/your-ip
3. Reboot server.
4. The firewall on Vesta need to be restarted. (Bug?)
Now everything works!
Thank you.
Re: My server changed the IP
Nice! Thanks and you for mini-guide. ;-)