Sorry, but that does not work, there is a bug I think. Those are the steps which I followed when I changed IP addresses. The problem is that from the main control pane screen under Web my domain has the old IP listed. When I click Edit, the dropdown box only has my new IP listed, the old one is not even there. Now when I save this page is when I get the parsing error, which does not let me save anything.
What I just now had to do to fix it was delete the web domain and re add it again, which gave it the new IP. The old IP that it was stuck on did not exist anywhere else on the server, besides in the control panel for that web domain. All DNS and the main server IP had already been adjusted.
Now that this web domain has been added back under the new IP, all of my parse errors are gone- I can change packages and add FTP users again which is great.
As a workaround to those of you with the problem still, do this:
Take a backup! I recommend doing this from your control panel, and then going in via FTP/SSH and downloading the backup. I did it via CLI- In my case my user was virginiaseo, so I logged in via SSH with root and did this:
I then backed up my conf and web directories manually:
Code: Select all
mv /home/virginiaseo/conf/ /tmp/
mv /home/virginiaseo/web/virginiaseo.org/public_html/ /tmp/
Now log into your control panel and log in as user by going to Users > and clicking Log In as XXXX next to the user- in my case it was virginiaseo. Now go to web, and next to the domain giving you a problem, click delete. At this point you will get a parse error, but the domain will be gone.
No click new domain, and create it with the same domain name. Add in your SSL code if you were on SSL. now move those directories back to where they were:
Code: Select all
rm /home/virginiaseo/web/virginiaseo.org/public_html/ -rf
rm /home/virginiaseo/conf/ -rf
mv /tmp/conf/ /home/virginiaseo/
mv /tmp/public_html/ /home/virginiaseo/web/virginiaseo.org/
And restart your services:
Code: Select all
service httpd restart
service nginx restart
This operation does not affect your DNS and Mail, bu you should go through everything and make sure no settings are jacked up.
Here is the bug page on this issue:
https://github.com/serghey-rodin/vesta/issues/230
Here is a script which helps to change the IP of the server, which I used at one point. This script when used will lead to the problem in this thread for your shared IP in some circumstances- out of my 10 domains on this server, the only domains that gave me trouble were my first domain, and my hostname domain which I created for mail/logging purposes.
viewtopic.php?f=10&t=5975
In the future, it might be easier to stand up a new Vesta instance on the new IP and then just migrate everything over instead of changing the IP.