Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using Plesk 11.0.9 - centOS and I'd like to change the vhost.conf file for a subdomain, but the path I'm using seem to be wrong :

/var/www/vhosts/sub.domain.lu/conf/vhost.conf 

Is it the right path ?

share|improve this question

2 Answers 2

up vote 0 down vote accepted

It should be the correct path. The content you put there will be included into autogenerated config file of Plesk. If you need to change config rather than to add/override anything there, you'll have to change templates used for config generation. More information can be found in Virtual Host Configuration chapter of Plesk docs

share|improve this answer

You should use command like:

/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain sub.domain.lu

to apply your custom web server Apache configuration file changes. On previous versions of Plesk the same job has been done by command:

/usr/local/psa/admin/sbin/websrvmng --vhost-name=sub.domain.lu

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.