• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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