Step by step install wpmu in VDS / VPS : setting wildcard and subdomain part 1
In previous post I explain about add user dan add domain inside my vds box. In this opportunity I’ll continue to explain howto get these things work in my vds :
setting wildcard and subdomain in wordpress multi user (wpmu)
Base on matt explanation here at least we need to set these things to make wildcard and subdomain work :
1. dns system
2. web server system (httpd.conf)
To get that thing work in my vds I’m doing this :
1. Login to control panel
2. Click on WWW domains
3. Double click on domain name I’ve entered before
Change from here :
Into this :
Aliases change from www.ngeblog.cn into *.ngeblog.cn
Click OK to change information.
As result httpd.conf will change, verify using easy editor from shell :
ee /usr/local/etc/apache/httpd.conf
to see this part :
<VirtualHost 82.146.51.161:80>
ServerName ngeblog.cn
DocumentRoot /home/blog/data/www/ngeblog.cn
Group blog
User blog
CustomLog /home/httpd-logs/ngeblog.cn.access.log combined
ErrorLog /home/httpd-logs/ngeblog.cn.error.log
ServerAlias *.ngeblog.cn
ServerAdmin webmaster@ngeblog.cn
php_admin_value open_basedir “/home/blog/data:.”
php_admin_value sendmail_path “/usr/sbin/sendmail -t -i -f webmaster@ngeblog.cn”
php_admin_value upload_tmp_dir “/home/blog/data/tmp”
php_admin_value session.save_path “/home/blog/data/tmp”
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
AddType application/x-httpd-php-source .phps
</VirtualHost>
Yes, ServerAlias change into *.ngeblog.cn
In next post I’ll continue to dns sytem.
Stay health
Related Reading:
Using DrupalWith the recipes in this book, you can take full advantage of the vast collection of community-contributed modules that make the Drupal web framewo... Read More >
Drupal For DummiesLearn to set up, manage, and administer a Drupal Web site
Drupal offers unparalleled flexibility for content-managed Web sites, but most ... Read More >
Pro Drupal Development, Second EditionWidely praised for its in–depth coverage of Drupal internals, bestselling Pro Drupal Development has been completely updated for Drupal 6 in thi... Read More >
Front End Drupal: Designing, Theming, Scripting“For Drupal to succeed, we need books like this.”
–Dries Buytaert, Drupal founder and project... Read More >
Cracking Drupal: A Drop in the BucketThe first book to reveal the vulnerabilities and security issues that exist in the sites that have been built with Drupal?and how to prevent them from... Read More >
Search Terms :
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.



