Replace and the IP address with your own domain and IP address:

* 3600 A

DNS is now configured. Now hack Apache configuration for supporting wild cards:

Open /etc/http.conf file and search (ctrl+f) DocumentRoot line and add the following code just under that line by pressing enter and creating space for a line:

ServerAlias *

Here also, replace with your own domain.