2487 shaares
83 private links
83 private links
I need to test sub-domains on my localhost. How can I effectively have this result of adding *.localhost.com to my /etc/hosts/ file?
Since it is not possible to simply put wildcards into hosts file, either manually adding the subdomains or making use of a light dns server like dnsmasq is required.