Symptoms
I have a few subdomains. But sometimes visitors are accessing non-existing subdomains. I wish to create one subdomain in order to catch all non existing subdomains for the domain.Resolution
Create a subdomain for the domain you wish with the name like 'zz-wildcard' in Plesk. This domain have to be the last in the subdomains' list ordered alphabetically, so we name it beginning from 'zz'.Add special configuration (catchall for all subdomains) to the vhost.conf file of this subdomain, for example /var/www/vhosts/domain.com/subdomains/zz-wildcard/conf/vhost.conf:
ServerAlias *.domain.comRebuild Apache configuration using websrvmng utility:
PRODUCT_ROOT_D/admin/sbin/websrvmng -a -v Now, requests to all non existing subdomains have to go to zz-wildcard.domain.com.