• 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/

Automatic Subdomains

M

MatthewTLS

Guest
In addition to my PHP thread, I'd also like to know how one should go about setting up a vhost.conf file in the VirtualHosting template so that dev.domain.com and preview.domain.com are auto-magically setup when a hosting account is created? I've tried using vhost.conf, but since it's marked as an Include in the conf/ directory of the website's home dir, I can't setup another <VirtualHost> directive. Any assistance would be appreciated.

Cheers!

Matthew
 
I answerwed my own question ... All I have to do is modify the template files under:

/usr/local/psa/admin/conf/templates/default
 
Back
Top