• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.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