Sometimes, few applications like wordpress requires a “Wild card DNS” redirect for subdomains. You can set the Wild Card subdomain redirect easily by following the below steps :
[email protected][#] vi /etc/httpd/conf/http.conf
under the ServerAlias tab
make the entry as :
ServerAlias domain.com *.domain.com
ServerAlias www.domain.com *.domain.com
Save and quit.
Then go to WHM–>>Edit DNS Zone >> Select the domain
and make following changes :
* 14400 IN A server ip (127.0.0.1)
* 14400 IN A 127.0.0.1
That’s all you are done.