3 ms·
See also: http://xip.io/ http://xip.io/ > xip.io is a magic domain name that provides wildcard DNS for any IP address So you can test stuff on your phone/tabl
by slig 12y ago
See also: http://xip.io/ http://xip.io/
> xip.io is a magic domain name that provides wildcard DNS
for any IP address
So you can test stuff on your phone/tablet without messing with 'hosts' file, for instance: myapp.192.168.0.1.xip.io will resolve to 192.168.0.1.
- skrause 12y agoAlso http://nip.io/ http://nip.io/
- jtolj 12y agoBoth of these are really useful, but a lot to type if you just need 127.0.0.1.
- astrodust 12y agoxip.io is great for testing on virtual machines so you can use the unusual private interface address of your host, or of the virtual machine itself.
- general_failure 12y agoHow does this work? How do you make multilevel subdomain wildcards work? Maybe they run their own DNS server in which case this seems atleast doable. edit: It's smack on the front page of xip.io :) "xip.io runs a custom DNS server on the public Internet.".
- unfamiliar 12y agoThat seems like more of a mess than just "messing with the hosts file." What happens when your ip changes and none of your links work correctly?
- tomjakubowski 12y agoIt is generally more difficult to edit a hosts file on a phone or tablet or on your non-technical coworker's computer. xip.io is useful for these situations. And if your IP address changes, surely it is more of a pain to edit the hosts file again on these several other phones/tablets/computers than to just send a new link.
- unfamiliar 12y ago>And if your IP address changes, surely it is more of a pain to edit the hosts file again You wouldn't need to edit the hosts file, since your made up domain would just point to 127.0.0.1
- slig 12y agoThis hack is for development only i.e, testing something on your phone that is hosted on your dev machine, all inside your local network.
- 0942v8653 12y agoThis looks like it will be really useful. My school blocks direct IP access ("phishing", but it's really because they use DNS blocking).