• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.

Unable to generate the web server configuration file on the host

Matt_Hill

New Pleskian
Edit - I have managed to solve my own problem.

The problem was after saving website settings in Plesk i get this error:

"Unable to generate the web server configuration file on the host <plesk.ourdomain.co.uk> because of the following errors:

Template_Exception: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/plesk.conf.d/server.conf:6
AH00526: Syntax error on line 1 of /var/www/vhosts/system/ourdomain.co.uk/conf/vhost.conf:
<VirtualHost> cannot occur within <VirtualHost> section

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0

Please resolve the errors in web server configuration templates and generate the file again."


OS: Ubuntu 14.04.2 LTS
Plesk version: 12.0.18 Update #81 , last updated at April 14, 2016 06:25 AM

The solution was to edit: /var/www/vhosts/system/mydomain.com/conf/vhost.conf

Which looked like this:

<VirtualHost *:80>
<IfModule mod_fcgid.c>
FcgidBusyTimeout 3600
</IfModule>
</VirtualHost>

I removed:

<VirtualHost *:80>
</VirtualHost>

So the end result was:

<IfModule mod_fcgid.c>
FcgidBusyTimeout 3600
</IfModule>

After that I was able to update website settings again from within Plesk again.
 
Last edited:
Back
Top