How do I setup all subdomains *.domain.tld to point to a domain domain.tld? | wildcard dns in plesk
For that purpose you should add an entry into domain’s zone DNSĀ like:
*.domain.com. CNAME domain.com.
and configure Apache with the following line in the domain’s vhost.conf:
ServerAlias *.domain.com
After the changes have been made do not forget to restart apache (with
“$PRODUCT_ROOT_D/admin/bin/websrvmng -a -v”) and BIND services to
apply changes.
