if you have lets say about 20 to 100 domains / blogs and if you are not interested in the wpmu admin management funcions it may be that you will like to setup a single wp 2.7 installation and modify your wp-config.php as follows
search for the line
$table_prefix = 'wp_'
replace this line according to your needs ->
Method 1: one domain, multiple subdomains
1. $arrPrefix = explode( ".", $_SERVER["HTTP_HOST"] );
2. $table_prefix = $arrPrefix[0].'_';
$arrPrefix = explode( ".", $_SERVER["HTTP_HOST"] ); $table_prefix = $arrPrefix[0].'_';
Method 2: multiple domains (one blog per domain)
1. $arrPrefix = explode( ".", $_SERVER["HTTP_HOST"] );
2. $table_prefix = $arrPrefix[( count( $arrPrefix ) - 2 )].'_';
$arrPrefix = explode( ".", $_SERVER["HTTP_HOST"] ); $table_prefix = $arrPrefix[( count( $arrPrefix ) - 2 )].'_';
Method 3: multiple Domains each having multiple subdomains
1. $arrPrefix = explode( ".", $_SERVER["HTTP_HOST"] );
2. $table_prefix = implode( "_", $arrPrefix ).'_';
$arrPrefix = explode( ".", $_SERVER["HTTP_HOST"] ); $table_prefix = implode( "_", $arrPrefix ).'_';
Method 4: multiple domains, subdomains, identical domain names having different .tlds including a fix for "-"
1. $table_prefix = str_replace( array( ".", "-" ), "_", $_SERVER["HTTP_HOST"] )."_";
You will have to setup the domains in the apache configuration as follows:
ServerName domain.tld
ServerAlias *.domain.tld
DocumentRoot /home/htdocs/blog
as for the subdomains you also can extend the above multiple blog / domains via simple switch/case - routines....