Product:
Search Type:

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

Article ID: 955 
Last Review: Jul,10 2008
APPLIES TO:
  • 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.

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.
*Please type the code you can see.
* - required fields