Enable Wildcard for Wordpress MU
Posted By: zainal on August, 03 2007
To allow each new user to have his/her blog hosted in subdomain (eg. http://user.domain.com), you’ll need a wildcard entry in the DNS. To enable wildcard dns, you have to add one single line to your domain name zone:
*.domain.tld. IN A 123.456.78.9
Apache Setup
Open httpd.conf and add the following line at the VirtualHosts section:
DocumentRoot /www/subdomain
ServerName www.domain.tld
ServerAlias *.domain.tld
If you are on shared hosting such as Cpanel, you need to contact the support team and ask them if wildcards are enabled on your account. If not, tell them to add a wildcard entry in the DNS for a particular domain.

FACEBOOK
GOOGLE+
TWITTER
RSS
Thanks for this info, would have been really nice with details about setting it up so dynamic data is show via a directory structure without having to create them.
Hi, thanks for information but how can I open and edit httpd.conf file?
@ruud
If you’re using Linux and have root access, you can open up httpd.conf file using pico text editor:
pico -w httpd.conf
else if you’re on shared hosting platform, you need to ask your administrator to add the commands for you.
@ruud
If you’re on shared hosting & do not have admin privileges, you must create *(asterisk) subdomain, it works like a DNS Wildcard, for more information, please read my tutorial
Thanks you i will try this on the VPS.
but when using it on shared host i don’t know how to configure it.
Thanks
Leave a reply
Popular Post
How to cancel PayPal Automatic Payment
How to Join Google+ Plus
Cannot Load MySQL Extension
Enable Wildcard for Wordpress MU
Port 25 blocked by TMnet
Recent Post
IE8 - HTML Parsing Error: Unable to modify the parent container element before the child element is closed
Microsoft Socl.com Social Network
How to create pages on Google+ Plus
Nmap - Missing MSVCR100.dll
How to Cancel A Tagged Account
Featured on KOSMO!
BLOGGER