• 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

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