How to create wildcard subdomains in Plesk

plesk logoMany times you may want to have as well as * point to the same site in Plesk control panel. This can possible in Plesk by making some small changes in the Apache configuration file.

Let us start with the same guys 🙂

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


2) Edit the Apache configuration file /var/www/vhosts/ or /home/httpd/vhosts/ file and insert below information

ServerAlias *

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

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

3) Reload the Apache configuration file

# /etc/init.d/httpd reload

 If any feedback, queries are always welcome!

Share on Facebook0
Share on Google+2Tweet about this on TwitterShare on StumbleUpon0Share on LinkedIn0Share on Tumblr0Digg thisPin on Pinterest0Share on Reddit0Email this to someonePrint this page

About Abhijit Sandhan

Abhijit Sandhan
Loves Linux, Blogging, Traveling, Hiking and sharing knowledge!

Leave a Reply

Your email address will not be published. Required fields are marked *