• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Catch all subdomain

W

wiebra

Guest
Is it possible to catch all subdomains of a domain? ("http//anything.mydomain.com" point to "http//mydomain.com")

I have a solution now where every non existant sub-domain lands on the default website, for each virtual domain on a certain IP. (So all the websites land on 1 place). I would like to set it up per domain.

I read this one but there is no conf/vhost.conf on my machine.
 
You have to create the vhost.conf file. It is not there by default.
 
I do use version 7.5.4 so I don't know if it is the same as your version.

I placed the file in /var/www/vhosts/<mydomain>/conf/

Then take the steps of here and it should work.
 
I added the CNAME in the dns of Plesk. Don't know the underlying system.
 
Back
Top