• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Domain Alias Creation Event

W

wacornelle

Guest
Currently, I'm executing an event handler (written in python) on domain creation.
And the command looks something like this:
"/usr/local/psa/admin/bin/addFWDomain.py <new_domain_name>"
This works perfectly, but I also need to execute the same script on domain *alias* creation.
The "Domain Alias Created" event exists in the event manager's drop-down box, but I can't seem to find it in the documentation. I have tried to guess several names for the label that needs to be placed between the angle brackets to insert the parameter into the command line, but I haven't found one that works yet. Does anyone know what the label for the parameter is (e.g. <new_alias_name>)?
 
Does it work???

Does the event work for you?
It doesnt seem to work for me (FC 3 - PSA 8.0.1)

Please let me know if you get it to work
 
i've the same Problem.

I use the same syntax like "domain vcreation", but nothing happens.

Anny idea how to find / or create the alias - Listener

Seems not to be implemnted!?
 
I was unable to get PSA to call the event handler with 8.0.1 but filed it as a bug. It was confirmed and it seems to work after I ran an update today. But I can't figure out the command line argument either.
 
My domain alias events started working after our Plesk boxes were upgraded to 8.1 from 8.0.1. The event is also documented now if you follow the "Help" link from the "Event Manager" page and then following the "Adding Event Handlers" link. There it also mentions the placeholders as being
<new_domain_alias_name> and <old_domain_alias_name>
for alias creation as stated by hannes42
 
Back
Top