• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Plesk WWW prefix autocreator script

C

Cameleon

Guest
This is subdomain prefix - automatic creation

If someone want to make life easy, i dont know only how to add DNS from command line like this

Event handler in plesk

Subdomain created
Command: /usr/local/psa/bin/create_subdomain.sh <new_subdomain_name> <new_domain_name>

normal 50

Subdomain deleted
Command: usr/local/psa/admin/sbin/websrvmng -u --vhost-name=<new_domain_name>

normal 50

content of file wich need to be in /usr/local/psa/bin/ create_subdomain.sh

#!/bin/bash

echo "ServerAlias www.$1.$2" >> /var/www/vhosts/$2/subdomains/$1/conf/vhost.conf

/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=$2

exit
 
question: Normal subdomain dns zone is added wheen i create subdomain but it looks like this
test.mysite.pl. A IPP.IPP.IPP.IPP
i need to add one more like this
*.test.mysite.pl. A IPP.IPP.IPP.IPP
by auto or by script or anyhow, not by hand....
 
Back
Top