R
ramfade
Guest
I have to change the IP of my server as per my hosting provider.
I can't get rid of the old IP address!
I've found some posts on this subject and here is what I've done:
I used /usr/local/psa/bin/reconfigurator.pl map_file to change the IP address of the server. It added the new address, moved the domains over to it, but did not remove the old address. In Plesk it shows both IPs, and I can't remove the old one - the delete check box is disabled.
I tried "/usr/local/psa/admin/bin/websrvmng --remove-ip-address --ip-address=1.2.3.4" but it didn't seem to do anything, even after rebooting.
I deleted the map_file and reran reconfigurator. The file it created had two IP's bound to eth0. So I deleted the old one and ran it again - but it reported there was nothing to do.
I can login on the new ip with Plesk and ssh, pop mail is working. (Webmail doesn't work, but I can wait for DNS to propagate for that. That's not an issue, assuming it will correct itself over time.)
It's a name server and it resolves the new IP correctly - although I don't use Plesk to manage DNS. From another server I use "dig @ns2.domain.com ns2.domain.com", with ns2.domain.com being the server in question.
I think the only thing I should worry about is removing the old IP completely - any ideas?
I can't get rid of the old IP address!
I've found some posts on this subject and here is what I've done:
I used /usr/local/psa/bin/reconfigurator.pl map_file to change the IP address of the server. It added the new address, moved the domains over to it, but did not remove the old address. In Plesk it shows both IPs, and I can't remove the old one - the delete check box is disabled.
I tried "/usr/local/psa/admin/bin/websrvmng --remove-ip-address --ip-address=1.2.3.4" but it didn't seem to do anything, even after rebooting.
I deleted the map_file and reran reconfigurator. The file it created had two IP's bound to eth0. So I deleted the old one and ran it again - but it reported there was nothing to do.
I can login on the new ip with Plesk and ssh, pop mail is working. (Webmail doesn't work, but I can wait for DNS to propagate for that. That's not an issue, assuming it will correct itself over time.)
It's a name server and it resolves the new IP correctly - although I don't use Plesk to manage DNS. From another server I use "dig @ns2.domain.com ns2.domain.com", with ns2.domain.com being the server in question.
I think the only thing I should worry about is removing the old IP completely - any ideas?