Failed to create virtual server : No virtual domains file (virtual_alias_maps) was found in your Postfix configuration!

I received the following error from Webmin (Virtualmin) when creating a new virtual server

The solution is to add the following:

virtual_alias_maps = hash:/etc/postfix/virtual

to /etc/postfix/

Next error:

The Apache webserver does not appear to be installed on your system, or has not yet been set up properly in Webmin's Apache Webserver module. If your system does not use Apache, it should be disabled in Virtualmin's module configuration page.

Just visit https://domain:10000/apache/

and install apache

Suexec is enabled in the default template, but the Apache module mod_suexec is not installed or not enabled.


apt-get install apache2-suexec


You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.