JP Kelly
Regular Pleskian
I want to change the IP of a domain after it is created.
The default IP of the server is xx.xx.xx.25 and new domains are created with that IP address.
I want to change the IP to xx.xx.xx.26 after they are created.
I have added /usr/local/psa/bin/domain --update ${NEW_DOMAIN_NAME} -ip xx.xx.xx.26 to the 'default domain created' event handler.
When I create the domain and go to it in the panel I get an error:
Error: There is no IP address xx.xx.xx.25 in the pool.
This puzzles me because I am not trying to use xx.xx.xx.25
Any suggestions how to accomplish this?
The default IP of the server is xx.xx.xx.25 and new domains are created with that IP address.
I want to change the IP to xx.xx.xx.26 after they are created.
I have added /usr/local/psa/bin/domain --update ${NEW_DOMAIN_NAME} -ip xx.xx.xx.26 to the 'default domain created' event handler.
When I create the domain and go to it in the panel I get an error:
Error: There is no IP address xx.xx.xx.25 in the pool.
This puzzles me because I am not trying to use xx.xx.xx.25
Any suggestions how to accomplish this?