Apache virtual host was not found

Hi all,
I searched for ‘Apache virtual host was not found’ and found nothing - so, hopefully, this is not a repeat question;

While adding the first Virtual Server, I get “done…” on almost everything except:

Performing other Apache configuration …
… configuration failed : Apache virtual host was not found at /usr/share/webmin/web-lib-funcs.pl line 1360.

Any tips on what I can do to fix it ?

You could check the syntax of the apache configuration file (path depends on your distro). Probably there is a problem (maybe accidentally deleted some part of the file while editing it or a “closing tag” is missing and so on).


Also, which distro/version is it that you’re using?

And when you performed your install, was that done with the install.sh, or was the install done manually?



Hi Eric,

Ubuntu 10.4 (stable)

Is it the usual apache2.conf / httpd.conf configuration files in /etc/ that it’s looking for ?

Yes, please check apache2.conf for any “syntax issues”.

It reports that it “has no VirtualHosts”. Other than that, it has no errors