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

DenniB

New Pleskian
Hi all,

i recently upgraded from plesk 10 to plesk 12.
After upgrading, the vhost.conf file for my subdomain is not working at all.

The strange thing is, if I use the plesk panel to edit http settings, it works.

So i thought that plesk 12 maybe creates a vhost.conf with these settings in another directory but I can't find any vhost.conf file with the content I added in the plesk panel.

Could somebody please help me to understand this?

The conf path is (or should be):
/var/www/vhosts/DOMAIN/subdomains/SUB/conf/vhost.conf


Thanks in advance.
 
The actual path for the conf - files in 12.0.1 is:

/var/www/vhosts/system/DOMAIN_OR_SUBDOMAIN/conf/

You can always try to reconfigure your config - files with:

/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
or
/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain YOURDOMAIN.COM


You might try as well to update the vhost structure over the command line with:

/usr/local/psa/admin/sbin/update-vhosts-structure

to see all commands for this script, please use: update-vhosts-structure --help
 
Thank you so much, this helps a lot.

The last thing that i do not understand is why plesk is ignoring my vhost.conf

I am not sure about this update-vhosts-structure command.
The help (--help) is really minimalistic..
Would this command override vhost.conf's already available ?

The conf path "/var/www/vhosts/DOMAIN/subdomains/SUB/conf/vhost.conf" did work on plesk 10.

The path is listed here :"/var/www/vhosts/DOMAIN/conf/last_httpd.include"....

any idea?
 
Hi DenniB,

did you see the difference between your old 10-Plesk-version path and the new 12-Plesk-version one? Plesk 12 is not configured to look for additional configuration files on the old path.
 
Back
Top