Set wildcard DNS
Follow the steps below to set the wildcard dns for your domain.
Edit the httpd.conf and add the line in virtual host of domain.
ServerAlias *.domain.com www.*.domain.com
restart httpd/apache service.
Now edit the DNS file or db file of domain and add the line as
*.domain.com.   14400  IN     A      IP of server
www.*.domain.com.       14400  IN     A      IP of server
restart named service
Hari
njoy









