Save up to 30% on Dedicated Servers – Chat Now!
Your Webhosting Questions
Answered by the Webhosting Experts
Tags +

Using wildcard subdomains in Plesk

In some situations, you may want to have as well as * point to the same site in Plesk. Plesk will automatically set up hosting for and within the Apache configuration, but you can direct all subdomains for a particular domain to a certain virtual host fairly easily.

Add a CNAME or A record for * which points to (for a CNAME), or the domain’s IP (for an A record.

Apache Configuration
Edit the /var/www/vhosts/ or /home/httpd/vhosts/ file and enter this information:

ServerAlias *

If the vhost.conf didn’t exist before, you will need to run:

# /usr/local/psa/admin/bin/websrvmng -av

Whether the vhost.conf was new or not, you will need to reload the Apache configuration:

# /etc/init.d/httpd reload

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: We are also available to you through our phone and live chat system 24/7/365.