• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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