xip.io welcome screens says this :
10.0.0.1.xip.io resolves to 10.0.0.1
Why do we need to go through xip io when I can directly use the IP?
Is it used to access servers by domain name instead of IP?
Xip.io is a wildcard DNS service that makes it drop-dead simple to set up a network and connect any device to your local test site. Internet Expert Debunks Cybersecurity Myths.
sslip.io is a DNS (Domain Name System) service that, when queried with a hostname with an embedded IP address, returns that IP address. It was inspired by xip.io, which was created by Sam Stephenson.
The main use case is when your application needs to support multiple subdomains.
Take for example these production subdomains:
Or you can consider a multi-tenant application where each account gets its own custom subdomain:
So it's easy enough to setup a production environment to serve this requests.
But without a service like xip.io for your development environment, you cannot put a subdomain in front of an IP address to route your request appropriately.
To get around this, you can access your application through a subdomain like this through xip.io:
http://mycompany.10.0.0.1.xip.io/
As xip.io states, this then works flawlessly if you're trying to access the application from other machines on your local network, be they smartphones, tablets, other OSes within VMs, etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With