• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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