Virtualmin

Virtualmin is a Webmin module for managing multiple virtual hosts through a single interface, like Plesk or Cpanel.

How to install Virtualmin: http://www.webmin.com/vdownload.html

During the initial setup you can face some issues.

 

 


 

Error: No map sources were found in the Postfix configuration

Solution: Open the file "/etc/postfix/main.cf", add the following line "virtual_alias_maps = hash:/etc/postfix/virtual" and save.

 

 


 

ErrorThe Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin base directory is /home. CGI and PHP scripts run as domain owners will not be executed.

Solution: In Virtualmin go to System Settings -> Server Templates -> Default Settings -> Apache website. Set "Automatically add appropriate SuExec directive?" to No.

 

 


 

Error: Multiple SSL websites on the same IP address have been enabled on the Virtualmin Configuration page, but your web server does not support this feature.

Solution: In Virtualmin go to System Settings -> Virtualmin Configuration -> SSL Settings. Set "Allow multiple SSL websites on the same IP?" to No.

 


 

How to create a virtual host.

Go to Create Virtual Server form and specify domain name, some description and password. Press Create Server.

 


 

How to import database.

If you already have a manually created databese and you want to assign it to some webserver you can use Edit Databases form.

Edit Databases -> Import Database (tab). Select the existing database and press Import Now.

 


 

How to backup/restore database.

1. Backup.

Edit Databases -> Databases -> (Select database) -> Manage

 


 

In the next screen press Backup Database.

 


 

Specify the name of the backup file (with path).

You also can define a scheduled backup policy here.

 


 

2. Restore.

Edit Databases -> Databases -> (Select database) -> Manage

 


 

In the next screen select Execute SQL

 


 

In the next screen select Run SQL from file (tab) and specify the path to the mysql backup file. Press Execute.

 


 

How to create mailbox

In Virtualmin choose the domain that you'd like to create the mailbox related to.

Use Add a user to this server form.

 


 

Specify mailbox user name, real (unix) user name, password and press Create.

 


 

You also can install phpMyAdmin (web interface for MySQL) and Roundcube (webmail) using Install Scripts in Virtualmin main menu.

Was this answer helpful?

 Print this Article