Checking Configuration

Hello! I have a ubuntu server 8.04.3 with latest updates. Before I install the script for virtualmin, a have allready instaled apache 2 web server, DNS server, mysql server with the password set.
Initially I could’t setup a passwd for MySQL root, and when I hit re-check and refresh I get the messaje:

Checking Configuration

The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active …

  BIND DNS server is installed, and the system is configured to use it.

  Mail server Postfix is installed and configured.

  The 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.

… your system is not ready for use by Virtualmin.

Any sugestion.

I use for my server a static IP on my private lan, with FQDN.

Try to turn off unter Virtualmin -> System Settings -> Server Templates -> Default Server Template -> Apache website (from dropdown menu) and select “NO” where “Automatically add appropriate SuExec directive?” stands.

You will be better of to recompile suexec to point to /home

Even better is to use a minimal install of the OS, so without apache and let virtualmins install file handle it for you.
You want the apache from the virtualmins repository (it is configured correctly) to avoid future conflicts anyway.

Very true ronald. I perform a fresh install of my ubuntu server, without any service preinstaled, and everyfing is ok now.
But now I need some help, for the next situation:

I have purchased a internet public domain from my registar:
I use a pppoe connection with a dinamic ip :-((, with a asus router, probabily I will replace him with a linux router , download speed up to 10 mbs, upload up to 2 mbs, probabily to slow for a hosting a webste.
I use service to point to my dianmic ip.
The problem is: I want to use the same ip for multiple host:,,, webmail, forum. These hostnames I created on dns entries on
What I want it is posible?!!

virtualmin has a module for everydns, so yes it is possible.

all the sites will run on 1 internal IP that Apache uses. As long as you create the entries at everydns, there should be no issue

Ok, I search for everydns module, on google, on vitualmin website, but I couldn’t find anyfhing.
A link , or some think. Till now I use for administration ebox, but I am limited at addon for ebox. Then I discover virtualmin.

ah yes virtualmin has a module for dyndns and powerdns. but some other users do use everydns succesfully though.

I think I will stick to linux router, configured with
Question: to make multiple virtual host on one ip a need to configure a dns server on my lan?!
I really don’t know how to combine the hostname defined on with my server setup on my private LAN.

I’ve the same problem than above and i have to recompile suexec. Playing with all these tools is just a hobby for me and i want to know if the method i use will be right.
I found a tutorial but i want to be sure that this is the good step for doing such a job. I’m on debian etch.

apt-get update
apt-get install dpkg-dev

apt-get source apache2

cd apache2-2.2.3/support/
~/apache2-2.2.3/support# nano suexec.h

#define AP_HTTPD_USER “www”


#define AP_HTTPD_USER “www-data”


#define AP_LOG_EXEC DEFAULT_EXP_LOGFILEDIR “/suexec_log” /* Need me? */


#define AP_LOG_EXEC “/var/log/apache2/suexec.log” /* Need me? */




#define AP_DOC_ROOT “/home/www”

~/apache2-2.2.3/support# cd …
~/apache2-2.2.3# ./configure
~/apache2-2.2.3/support# make suexec
~/apache2-2.2.3/support# cp suexec /usr/lib/apache2/suexec

~# /usr/lib/apache2/suexec -V
-D AP_DOC_ROOT="/home/www"
-D AP_HTTPD_USER=“www-data”
-D AP_LOG_EXEC="/var/log/apache2/suexec.log"
-D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
-D AP_USERDIR_SUFFIX=“public_html”

reload apache

/etc/init.d/apache2 reload

Is that correct?
My sites are directly stored in /home. Do i have to recompile with #define AP_DOC_ROOT “/home/www” or simply with #define AP_DOC_ROOT “/home”?

Thx for your help and sorry for my english.