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

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/main.cf

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