How do I setup all subdomains *.domain.tld to point to a domain domain.tld?

Article ID: 955 
Last Review: Oct,6 2008
Author: Dmitry Frantsev
Last updated by: system APPLIES TO:
  • Parallels Plesk for Linux/Unix

Resolution

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.


Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields