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

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

vhost.conf root directory

Raza

New Pleskian
After wasting 2 days i'm still not able to set custom root directory.
What I done so far:
created a vhost.conf file in /var/www/vhosts/system/<domain.tld>/conf and content of vhost.conf are same like http://kb.odin.com/en/5464
and after that this command:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain <domain.tld>
but still when i visit <domain.tld>, it is pointing to /var/www/vhosts/default/htdocs
when i change directory location in /etc/httpd/conf/plesk.conf.d/server.conf then everything works fine but it is auto generated file so i can not rely on that.
my os is centOS 6, plesk 12 and php 5.6
 
Back
Top