dns - wildcard in hosts file -


it's not possible use wildcard in hosts file on windows or linux. there way browser plugin or else?

i have dev server on vbox instance it's practically lan. i'm creating .dev domain virtual hosts example.com becomes example.dev. application i'm creating random subdomains (abd34dn.example.dev) should point dev server's ip.

what options?

instead of editing hosts file (which not work requirement), setup dns server , setup wildcard dns record --

*.example.dev in   1.2.3.4 

you mentioned subdomains, assuming want host entries (a address entries) under example.dev. abcd.example.dev indicates "abcd" host entry, , not subdomain. if xyz.abcd.example.dev, "abcd" becomes subdomain. key point - since want abcd.example.dev - need dns records , suggested above.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -