This is pretty handy until were all switched over to IPv6 and we'll need to "to solve the problem once and for all" again.
Isn't the idea of IPv6 that we have plenty of addresses. Thus it wouldn't (read: shouldn't) be hard to get another address bound to your virtual host. In fact doesn't the whole idea of binding multiple sub-domains to the same IP address (on the same port) kind of go by the wayside when it's free/cheap/not-going-to-blow-up-the-internet to get another IP?
Xip.io - a magic domain name that provides wildcard DNS for any IP address
121–128 of 128 posts
Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address
#122https://gist.github.com/2897076
powerdns is a solid dns server and very extensible!
$ host whatever.192.0.43.10.ip.ipq.co whatever.192.0.43.10.ip.ipq.co is an alias for 1h9u9ze.ip.ipq.co. 1h9u9ze.ip.ipq.co has address 192.0.43.10
Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address
#123Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address
#124What is the use case that requires http://test.10.0.0.3.xip.io/test-page rather than http://10.0.0.3/test-page ? I've been using the latter on iphones and ipads with no problem. Honest question.
You can't test multiple sites on the same host using just the IP.
In /etc/hosts:
1.2.3.4 site1.com site2.com
Then you have to edit /etc/hosts to try two more sites.
The idea that the user cannot access /etc/hosts on the iPhone is reason enough to jailbreak it. Denying access to /etc/hosts means the iPhone cannot connect to the any website that requires a hostname, even when the iPhone can connect to the internet, unless the iPhone can access some DNS server (which of course Apple probably wants to control). That is a ridiculous limitation. The internet nor the web requires DNS to work, but the iPhone requires DNS to access the web.[1]
1. assuming the website is using virtual hosts or otherwise requires a hostname
Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address
#125Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address
#126Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address
#127Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address
#128Earlier quoted context omitted.
You can't test multiple sites on the same host using just the IP.
Actually you can test two at a time by using an alias in /etc/hosts. In /etc/hosts: 1.2.3.4 site1.com site2.com Then you have to edit /etc/hosts to try two more sites. The idea that the user cannot access /etc/hosts on the iPhone is reason enough to jailbreak it. Denying access to /etc/hosts means the iPhone cannot connect to the any website that requires a hostname, even when the iPhone can connect to the internet,…