Featured-Image-SANGKRIT 2

Subdomain Network: Adding A Wild-Card DNS In DNS Server

Replace sangkrit.net and the IP address with your own domain and IP address:

*.sangkrit.net. 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 *.sangkrit.net

Here also, replace sangkrit.net with your own domain.