Apache virtualhost error

Hi all,

I am not able to create any virtual srevers in fresh webmin + apache installation. Getting the below errors when I try to add a domain :

Failed to create virtual server : The new virtual server was added to /etc/apache2/sites-available/****.com.conf, but this file is not used by Apache. Check the module configuration and make sure the ‘File or directory to add virtual servers to’ is correct.

Following are enabled in apache2.conf:

Include generic snippets of statements

IncludeOptional conf-enabled/*.conf

Include the virtual host configurations:

IncludeOptional sites-enabled/*.conf

I have tried to install the apache from webmin but the issue persists. I have attached the errors and current configurations. Please check and assist.


What distro/version is it that you’re using?


root@live1:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty

root@live1:~# apache2ctl -v
Server version: Apache/2.4.7 (Ubuntu)
Server built: Apr 3 2014 12:20:28

Webmin version was 1.600