Issue on managing aliases in a multiserver environment
Summary
If you change the parent domain on an alias with another site hosted on a different server than the initial one, the configuration will be correctly done on the new server but the alias will not be removed from the old server
Steps to reproduce
- create a website alias (e.g. dev.example.com) and assign it to a site hosted on server A (e.g. example.com)
- enter in the alias you just created (dev.example.com) and change the assignment to another site hosted on server B (e.g. example.it)
- now dev.example.com will be correctly configured on server B but will not be removed from the vhost on server A example.com, it will still result in the apache configuration and the a DB record on server A will also remain
Correct behaviour
The alias configuration should be completely removed from server A and carried over to server B
Environment
Server OS + version: Ubuntu 18.04.6 LTS ISPConfig version: 3.2.8p1
Edited by Lorenzo Valori