Tell me more ×
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

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

The chapter mentions a different approach. It should not be:

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

but

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

Both solutions did not work for me. There is no hint which domain to reconfigure then - domain or subdomain.

How to define the Directory in the vhost.conf?

<Directory /var/www/vhosts/domain.lu/sub>

or

<Directory /var/www/vhosts/sub.domain.lu/httpdocs>

?!

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.