Live data from Hacker News

Xip.io - a magic domain name that provides wildcard DNS for any IP address

xip.io

31–40 of 128 posts

Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address

#31

Earlier quoted context omitted.

We have no proof that the code on the repo is related in any way to the code the actual site is running.

If you click on the "custom DNS server" link on the site, you will get a surprise

hah, they wrote it in node.

Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address

#32
post #25
post #14

Earlier quoted context omitted.

You can't test multiple sites on the same host using just the IP.

"You can't test multiple sites on the same host using just the IP." I'm not getting what the problem is. Isn't this what ports are for? Or even just running the websites on different folders?

Sometimes vhosts are convenient, sometimes they're even mandatory. For example, with XMPP servers, multi-user chat and any components must live on a subdomain. So if your main server is running on example.com then the MUC server is, say, conference.example.com and component "foo" is foo.example.com. No way around it short of hacking the source (and, if I'm not mistaken, violating standards.)

This is just one situation where I can see this come in really handy during development.

Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address

#34
post #25
post #14

Earlier quoted context omitted.

You can't test multiple sites on the same host using just the IP.

"You can't test multiple sites on the same host using just the IP." I'm not getting what the problem is. Isn't this what ports are for? Or even just running the websites on different folders?

Depends on what it is you're testing. You could be testing a vhost setup, in which case different ports or paths wouldn't suffice for testing. More specifically you could be an application's behavior when given different vhosts. Make sense?

Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address

#36
post #33

Why is this better than adding an entry to my hosts file?

How are you going to add an entry to the hosts file on an iPhone?

I know you meant your question rhetorically, but I believe you can add a proxy server to the iPhone and handle any hostname trickery there.

Edit: Proxy settings can't be global, but are assigned individually for each WiFi connection.

Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address

#37
post #25

Earlier quoted context omitted.

"You can't test multiple sites on the same host using just the IP." I'm not getting what the problem is. Isn't this what ports are for? Or even just running the websites on different folders?

Sometimes vhosts are convenient, sometimes they're even mandatory. For example, with XMPP servers, multi-user chat and any components must live on a subdomain. So if your main server is running on example.com then the MUC server is, say, conference.example.com and component "foo" is foo.example.com. No way around it short of hacking the source (and, if I'm not mistaken, violating standards.) This is just one situatio…

> For example, with XMPP servers, multi-user chat and any components must live on a subdomain.

This is only necessary if you want users outside your domain to access your component. While you probably want to do so for MUC, you might not necessarily want to bother for your user directory or gateways. I've run many servers over the years and long since stopped creating a host/subdomain for each component.

Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address

#38

Earlier quoted context omitted.

How are you going to add an entry to the hosts file on an iPhone?

I know you meant your question rhetorically, but I believe you can add a proxy server to the iPhone and handle any hostname trickery there. Edit: Proxy settings can't be global, but are assigned individually for each WiFi connection.

Yeah but then you're into jailbreak-warranty-invalidation territory. Great for personal devices, not so great on corporate.

Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address

#39

Earlier quoted context omitted.

How are you going to add an entry to the hosts file on an iPhone?

I know you meant your question rhetorically, but I believe you can add a proxy server to the iPhone and handle any hostname trickery there. Edit: Proxy settings can't be global, but are assigned individually for each WiFi connection.

Or you can use xip.io and save yourself a lot of trouble.

Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address

#40
post #7

Earlier quoted context omitted.

Well, if you don't : https://github.com/sstephenson/xipd

We have no proof that the code on the repo is related in any way to the code the actual site is running.

You have no proof that you aren't running a rootkit logging all your keystrokes right this second ;)
Post reply on HN