Open zodern opened 8 years ago
I'll look further into this, however we can use somthing like dnsmasque
http://superuser.com/questions/544875/how-to-register-subdomains-on-dnsmasq
Here, we can register subdomains, (ideally on the fly though maybe not) Another option is to look at the internals of how dnsmasq works and reimpliment it in js to allow more dynamic configurations.
This sort of thing would only be available on node-os however
It could also use a random port if 3000 is already in use.