• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Do vhost.conf files work in Plesk 11? Where

LindsayB

New Pleskian
I am used to Plesk 9.5. I now have a fresh install of Plesk 11.0.9 that I am trying to set up. I need to be able to have one vhost.conf file per domain and subdomain. No matter where I put them, though, they don't seem to be included. Is this still possible in Plesk 11? What is the correct place to put vhost.conf files in Plesk 11?
 
Hello,
BUG REPORT *
It seems that Panel 11.0.9 ignores vhost.conf & vhost_ssl.conf in the defined location (/var/www/vhosts/<domain>/conf/)


The only exception to this is the vhost.conf of the default domain that is taken into account.

One workaround (until this is fixed) is to put the files under /var/www/vhosts/<domain>/conf/siteapp.d. Only one file (e.g. vhosts.conf), that will be shared accross SSL and non SSL domain, so if you want separate things you are out of luck.

* By the way is there any bug tracking system to report plesk panel
 
iliasn, I checked it on Plesk 11.5.27 - it works without any problems. I will check it on 11.0.9 too.

I used next steps:
1. install Plesk 11.5.27
2. create subscription with domain "kriogen.tld"
3. check that vhost.conf and vhost_ssl.conf are absent in main configs (conf dir was relocated to system dir in Plesk 11.5)
[root@ppu11-5 ]# grep -R .conf /var/www/vhosts/system/kriogen.tld/conf/last_httpd.conf | grep Include
[root@ppu11-5 ]#​
4. create vhost.conf and vhost_ssl.conf files in the same directory (we support only these names)
[root@ppu11-5 ]# ls /var/www/vhosts/system/kriogen.tld/conf/ |grep vhost
vhost.conf
vhost_ssl.conf
[root@ppu11-5 ]#​
5. reconfigure domain
[root@ppu11-5 ]# /usr/local/psa/admin/sbin/httpdmng --reconfigure-domain kriogen.tld
6. check that files were added to main config
[root@ppu11-5 ]# grep -R .conf /var/www/vhosts/system/kriogen.tld/conf/last_httpd.conf | grep Include
Include "/var/www/vhosts/system/kriogen.tld/conf/vhost_ssl.conf"
Include "/var/www/vhosts/system/kriogen.tld/conf/vhost.conf"
[root@ppu11-5 ]#​

Do you use the same steps?
 
Thank you for your reply.

No, I didn't follow step n.5. Is it written anywhere ?
EDIT: OK I just read it here.
/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain kriogen.tld
I will test it.

And is is possible to update to plesk 11.5. with my current license (<10 domains) and how ?
 
Last edited:
Back
Top