xip.io - Access any dev App via internal IP using a magic domain
-
@Lonk said in xip.io - Access any dev App via internal IP using a magic domain:
What’s the benefit over just using the IP though?
Through sni you can host multiple websites on the same ip.
-
@robi Do you know if Let's Encrypt certs work with those domains (since LE has limits). Or maybe they have some special agreement with Let's Encrypt to get over the rate limits?
-
@girish they resolve to a local IP, so I don't really see how the letsencrypt verification procedure could find your server. Or am I missing something ?
-
@mehdi I think you can put any public IP as well. So you can create a droplet and use it's public IP address.
-
Any IP is usable not just private ones. Hence yes, you can get a LE cert.. try it.
-
@fbartels said in xip.io - Access any dev App via internal IP using a magic domain:
@Lonk said in xip.io - Access any dev App via internal IP using a magic domain:
What’s the benefit over just using the IP though?
Through sni you can host multiple websites on the same ip.
I don’t understand how tho if no two of these “magic domains” can point to the same IP?
-
@robi said in xip.io - Access any dev App via internal IP using a magic domain:
Any IP is usable not just private ones. Hence yes, you can get a LE cert.. try it.
I think I may have a use case for this then!
wonder if I could get a wildcard cert for it.
-
@Lonk said in xip.io - Access any dev App via internal IP using a magic domain:
I don’t understand how tho if no two of these “magic domains” can point to the same IP?
From the projects homepage:
10.0.0.1.xip.io resolves to 10.0.0.1
www.10.0.0.1.xip.io resolves to 10.0.0.1
mysite.10.0.0.1.xip.io resolves to 10.0.0.1
foo.bar.10.0.0.1.xip.io resolves to 10.0.0.1So multiple domains can point to the same ip.
-
@fbartels Ohhhhhh. I understand now. Thanks for the explanation. What a cool concept.
-
bumping for a refresher.