• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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